Example: I send /weather to a bot and he asked me city. How to make him wait to reply?
How to make a Python telegram bot wait for user input?
13.2k views Asked by Nikolay0054 At
2
There are 2 answers
0
On
ConversationHandler
can be used to achieve the purpose. Python-telegram-bot conversationbot2.py example gives a good reference.
You can use the InlineKeyboardButton for that. It pops up a button for the user to press on. You can 'wait' for the user to input the data that way