def default_message_handler(self, bot, update):
""" This is the method that will be called for every new message that
is not a command. It will ask the bot how to reply to the user.
The input parameters (`bot` and `update`) are default parameters
used by telegram.
"""
in_message = update.message.text
update.message.reply_text(self._bot.default_response(in_message))
评论列表
文章目录