How to get several inputs in one command in telegram bot api?

PTB provides two useful mechanisms for such usecases:

  • Storing data
  • ConversationHandler, see also the example

Update:

The correspondings links for v20.x of python-telegram-bot are:

  • Storing data
  • ConversationHandler, see also the example

Disclaimer: I’m currently the maintainer of python-telegram-bot

Leave a Comment

deneme bonusu veren sitelerbahis casino