def decrypting(message):
detector = cv2.QRCodeDetector()
qr_image = message.photo
bio = BytesIO()
qr_image.save(bio, 'JPEG')
bio.seek(0)
data = detector.detectAndDecode(bio)
bot.send_message(message.chat.id, f'QR code data: \n\n{data}')