I have a question about building a telegram bot with python.
How can I get input from the user in my python-telegram-bot?
For example, a dictionary bot, how can I get a word from the user?
I have a question about building a telegram bot with python.
How can I get input from the user in my python-telegram-bot?
For example, a dictionary bot, how can I get a word from the user?
2
Answers
I recommend pyTelegramBotAPI, not python-telegram-bot.
For me it is easier.
And you should use this:
You can save this information in JSON if you want.
I recommend to have a look at the examples on GitHub.
With python-telegram-bot v12.0.0b1 you can do it like this: