Answer the question
In order to leave comments, you need to log in
How to implement python-telegram-bot popup message?
How to implement this using the python-telegram-bot library?
Found this in the documentation:
bot.answer_callback_query(update.callback_query.id, *args, **kwargs)
def inline_keyboard_handler(update, context):
query = update.callback_query
data = query.data
if data == "1":
query.answer_callback_query(update.callback_query.id,text="Изменять голос запрещено", show_alert=True)
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