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)
评论列表
文章目录