def get_settings_change_state():
return [WorkflowEnum.SETTINGS_CHANGE,
[RegexHandler("^(" + regex_settings_or() + ")$", settings_change, pass_chat_data=True),
RegexHandler("^(CANCEL)$", cancel)]]
# Will return the SETTINGS_SAVE state for a conversation handler
# This way the state is reusable
telegram_kraken_bot.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录