TG Bot: возможность включения белого списка

This commit is contained in:
Alexey Polyakov
2026-05-06 00:51:56 +03:00
parent 1ff974dfce
commit 0f2d946b98
4 changed files with 13 additions and 8 deletions

View File

@@ -19,7 +19,8 @@ class TelegramBotController(ControllerBase):
token=self.config.telegram_bot_token,
enabled=self.config.telegram_bot_enabled,
db_pool=api['db'],
whitelist_ids=self.config.telegram_whitelist_ids
whitelist_ids=self.config.telegram_whitelist_ids,
whitelist_enabled=self.config.telegram_whitelist_enabled,
)
return _start_all()