def help_about(bot: telegram.Bot, update: telegram.Update):
bot.send_message(
chat_id=update.message.chat_id,
text=strings.HELP_MESSAGE,
parse_mode='HTML',
disable_web_page_preview=True,
reply_markup=strings.HELP_MESSAGE_KEYBOARD
)
bot_types.Botan.track(
uid=update.message.chat_id,
message=update.message.to_dict(),
name='help.about'
)
logging.info('Command help: about.', extra={
'telegram': {
'update': update.to_dict(),
'chat_id': update.message.chat_id,
'message_id': update.message.message_id,
},
'id': extentions.TextHelper.get_md5(str(update.message.chat_id) + str(update.message.message_id))
})
评论列表
文章目录