Астат ты не вознесешься
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user