When “callback_data” is changed from “uuid” to a normal value #4877
-
Hey, guys. While researching the PTB code, I couldn't find the lines of code where the uuid is changed to the normal value originally entered. In the script InlineKeyboardButton(callback_data='55d7b83281da4ae58b389cb101cf391994723d6fb4c240b6b595b2bc8e88a535', text='text button') But when send_message takes what the InlineKeyboardButton(callback_data=‘44’, text=‘text button’) Help me to find where this change happens. Thanks I'm probably missing something due to my lack of knowledge in the area of “OOP” |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey. arbitrary callback data is available only through python-telegram-bot/src/telegram/ext/_extbot.py Lines 653 to 654 in c062712 :) |
Beta Was this translation helpful? Give feedback.
Hey. arbitrary callback data is available only through
ExtBot
, so that's where you need to look:python-telegram-bot/src/telegram/ext/_extbot.py
Lines 653 to 654 in c062712
:)