Skip to content Skip to sidebar Skip to footer

Callbackqueryhandler Or Conversationhandler For A Message Sent From Bot Class

Using python-telegram-bot, I have a bot running with very similar settings as for the other examples. On the other side i have parallel processes that allow me to send messages to

Solution 1:

As said by @CallMeStag, the solution is the following:

ConversationHandler(
    entry_points=[CallbackQueryHandler(button)])

the correct entry point is a CallbackQueryHandler, so then it captures the selected button

Post a Comment for "Callbackqueryhandler Or Conversationhandler For A Message Sent From Bot Class"