【发布时间】:2016-09-18 12:07:49
【问题描述】:
我想向python telegram bot 发送一个特定命令,该命令会导致机器人响应请求更多信息并侦听包含该额外信息的另一条消息。
例如:
- 我发送
/add,机器人回复:ok, tell me your torrent link。 - 我通过 torrent 链接向机器人发送另一条消息,机器人将其保存到 Python 变量中以供进一步使用。
【问题讨论】:
-
你需要一个 ConversationHandler 。见github.com/python-telegram-bot/python-telegram-bot/blob/master/…
标签: python bots python-telegram-bot