__init__.py 文件源码

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

项目:totally-not-jarvis 作者: lorey 项目源码 文件源码
def process(self, bot, update):
        if update.message.text == 'Yes':
            print('Trying to send a mail')
            print(self.email.__dict__)
            send_email(self.email)
            bot.send_message(chat_id=update.message.chat_id, text='Okay, I have sent the mail successfully.',
                             reply_markup=telegram.ReplyKeyboardRemove())
        else:
            bot.send_message(chat_id=update.message.chat_id, text='Okay, I will not send a mail.',
                             reply_markup=telegram.ReplyKeyboardRemove())

        self.is_done_ = True
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号