fix bot_init
This commit is contained in:
@@ -171,7 +171,7 @@ class QBotApp(Generic[UserType, ConfigType], FastAPI):
|
|||||||
url=f"{self.config.TELEGRAM_WEBHOOK_URL}/telegram/webhook",
|
url=f"{self.config.TELEGRAM_WEBHOOK_URL}/telegram/webhook",
|
||||||
drop_pending_updates=True,
|
drop_pending_updates=True,
|
||||||
allowed_updates=self.allowed_updates,
|
allowed_updates=self.allowed_updates,
|
||||||
secret_token=self.webhook_auth_key,
|
secret_token=self.config.TELEGRAM_WEBHOOK_AUTH_KEY,
|
||||||
)
|
)
|
||||||
|
|
||||||
async def show_form(
|
async def show_form(
|
||||||
|
|||||||
Reference in New Issue
Block a user