How do I tell which KeyboardButton
has been pressed?
#1008
-
If I have two KeyboardButton's that both use ButtonRequest::Location but have different text is there a way to tell which of the two buttons was pressed? |
Beta Was this translation helpful? Give feedback.
Answered by
WaffleLapkin
Feb 10, 2024
Replies: 1 comment 1 reply
-
I don't think there is a way to tell. From my simple test it looks like the update that contains the location does not provide any information about the buttons: (there is only the location itself, and the reply) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MisterBiggs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't think there is a way to tell.
From my simple test it looks like the update that contains the location does not provide any information about the buttons:
(there is only the location itself, and the reply)