__init__.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:totally-not-jarvis 作者: lorey 项目源码 文件源码
def process_asking(self, bot, update):
        if update.message.text == 'Yes':
            bot.send_message(chat_id=config.TELEGRAM_CHAT_ID, text='Starting to record notes for this meeting:',
                             reply_markup=telegram.ReplyKeyboardRemove())
            self.state = 'memo'
        elif update.message.text in ['No', 'Later']:
            bot.send_message(chat_id=config.TELEGRAM_CHAT_ID, text='Okay.', reply_markup=telegram.ReplyKeyboardRemove())
            self.is_done_ = True
        else:
            # didn't understand answer, ask again
            self.ask_if_desired(bot)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号