My bot used to ask question with an inline keyboard markup. Whenever you click a button, it emits the callback_query. At some point I realized that it keeps firing this event even when I don't click the button.
I end up commenting out almost everything, my bot's app looks like this now:
My bot used to ask question with an inline keyboard markup. Whenever you click a button, it emits the
callback_query
. At some point I realized that it keeps firing this event even when I don't click the button. I end up commenting out almost everything, my bot's app looks like this now:And when I start the app, it keeps firing this callback every 10-ish seconds. Any ideas why and how to debug that weird behavior?