Answer the question
In order to leave comments, you need to log in
Telegram bot callback_data how to pass multiple values?
Good afternoon. Tell me how to pass several values through callback_data
This is how I form buttons from the database
markup.add(telebot.types.InlineKeyboardButton(text=result [3], callback_data=result [1]))
@bot.callback_query_handler(func=lambda call: True)
def query_handler(call):
....
elif call.data == ????????:
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question