电报机器人StringCommandHandler接收字符串时不响应

时间:2018-11-05 11:48:46

标签: python telegram telegram-bot python-telegram-bot

def invest(bot,update):
      #statements



string_handler= StringCommandHandler('sting', string_handle_function)
dispatcher.add_handler(string_handler_function)

当我将其更改为CommandHandler方法时,我找不到问题了

0 个答案:

没有答案