bot
commited on
Commit
·
fb4f49c
1
Parent(s):
919a7cc
test
Browse files
main.py
CHANGED
@@ -175,7 +175,7 @@ async def init_client():
|
|
175 |
# 将命令处理函数添加到 dispatcher
|
176 |
TG_BOT_APPLICATION.add_handler(CommandHandler("start", start))
|
177 |
TG_BOT_APPLICATION.add_handler(CommandHandler("help", help))
|
178 |
-
TG_BOT_APPLICATION.run_polling(allowed_updates=Update.ALL_TYPES)
|
179 |
|
180 |
|
181 |
# FastAPI 路由:接收来自 Telegram 的 Webhook 回调
|
|
|
175 |
# 将命令处理函数添加到 dispatcher
|
176 |
TG_BOT_APPLICATION.add_handler(CommandHandler("start", start))
|
177 |
TG_BOT_APPLICATION.add_handler(CommandHandler("help", help))
|
178 |
+
await TG_BOT_APPLICATION.run_polling(allowed_updates=Update.ALL_TYPES)
|
179 |
|
180 |
|
181 |
# FastAPI 路由:接收来自 Telegram 的 Webhook 回调
|