skip to Main Content

I’m writing a Telegram bot that provides button choices to the user. I’d like to ensure the user chooses from one of the buttons, rather than sending a custom text message or sticker or whatever. Is there some way to do this? As far as I can tell from the docs I can’t.

2

Answers


  1. Chosen as BEST ANSWER

    The answer is no! I am going to handle this by getting the bot to ignore any text input until the user selects one of the button options.


  2. I came here looking for the complete disabling of the keyboard. but so far, I’m making the bot tell the user to choose only from the buttons (better than ignoring random input IMHO).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search