-3

I want to send a python telegram bot a specific command that causes the bot to respond with a request for more information and listen for another message containing that extra information.

For instance:

  • I send /add the bot responds: ok, tell me your torrent link.
  • I send the bot another message with the torrent link and the bot saves it into a Python variable for further use.
jwpfox
  • 5,124
  • 11
  • 45
  • 42
  • 1
    You'll need a ConversationHandler for that. See https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/conversationbot.py – grooveplex Sep 18 '16 at 12:13

1 Answers1

1

In this case I would look into ConversationHandler

Eldin
  • 164
  • 3