format fix
This commit is contained in:
@@ -174,7 +174,6 @@ class QBotApp(Generic[UserType, ConfigType], FastAPI):
|
|||||||
language_code=None if locale == "default" else locale,
|
language_code=None if locale == "default" else locale,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
async def set_webhook(self):
|
async def set_webhook(self):
|
||||||
await self.bot.set_webhook(
|
await self.bot.set_webhook(
|
||||||
url=f"{self.config.TELEGRAM_WEBHOOK_URL}/telegram/webhook",
|
url=f"{self.config.TELEGRAM_WEBHOOK_URL}/telegram/webhook",
|
||||||
@@ -183,7 +182,6 @@ class QBotApp(Generic[UserType, ConfigType], FastAPI):
|
|||||||
secret_token=self.config.TELEGRAM_WEBHOOK_AUTH_KEY,
|
secret_token=self.config.TELEGRAM_WEBHOOK_AUTH_KEY,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
async def show_form(
|
async def show_form(
|
||||||
self,
|
self,
|
||||||
app_state: State,
|
app_state: State,
|
||||||
|
|||||||
Reference in New Issue
Block a user