Астат ты не вознесешься

This commit is contained in:
2026-02-18 01:43:22 +07:00
parent 59a3a7b46a
commit 5d350d0885
15 changed files with 1489 additions and 183 deletions

View File

@@ -123,8 +123,18 @@ class BotInfo:
# Устанавливаем webhook
await bots.set_webhook(
url=settings.WEBHOOK_URL,
allowed_updates=[
"message",
"edited_message",
"channel_post", # ← ВОТ ЭТО ДОБАВЬ!
"edited_channel_post", # ← И ЭТО
"callback_query",
"inline_query",
"my_chat_member",
"chat_member"
],
secret_token=settings.SECRET_TOKEN,
drop_pending_updates=True
drop_pending_updates=True,
)
logger.success(