[QUESTION] callback_data from http api /sendMessage not triggered #3400
vbeskrovny
started this conversation in
Feature Suggestions
Replies: 3 comments 11 replies
-
@vbeskrovny Hi. When you press an inline button, Telegram sends an update with telegram.Update.callback_query ᵀᴱᴸᴱᴳᴿᴬᴹ to your bot. You will have to handle that update. See inlinekeyboard.py for a simple example. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the prompt response.
Or do you think I have to create a "generic" handler without filters? |
Beta Was this translation helpful? Give feedback.
9 replies
-
Alright, will try to find a workaround somehow. Thanks! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue I am facing
Hi all, sorry, I do believe my question is very simple or stupid, but I cannot overcome it myself.
I am sending a question to the user's chat with the inline markup keyboard, having two buttons "YES" & "NO" with the same callback_data values 'YES' and 'NO'.
I do receive in the bot on my phone the question with the keyboard, however, if I click the button nothing happens. I see the rotating circle in the upper right corner of the button and this is it.
When the question is triggered via /some_command scripted inside the bot - all works.
What could be wrong? Any ideas?
Traceback to the issue
No response
Related part of your code
No response
Operating System
Debian
Version of Python, python-telegram-bot & dependencies
Beta Was this translation helpful? Give feedback.
All reactions