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” |
Answered by
Bibo-Joshi
Jul 25, 2025
Replies: 2 comments 1 reply
|
Hey. arbitrary callback data is available only through python-telegram-bot/src/telegram/ext/_extbot.py Lines 653 to 654 in c062712 :) |
1 reply
Answer selected by
ergobound
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
:)