webhook_telegram_bot.telegram.commands.delete_webhook

This file contains functions to handle /delete_webhook command.

Module Contents

Functions

delete_webhook_command_handler(chat_id: int, webhook_id: str, db: webhook_telegram_bot.database.backends.types.DatabaseWrapperImpl, telegram_api: webhook_telegram_bot.telegram.telegram_api.TelegramAPI, template_engine: jinja2.Environment) → aiohttp.web.Response

Return message about webhook deletion.

async webhook_telegram_bot.telegram.commands.delete_webhook.delete_webhook_command_handler(chat_id: int, webhook_id: str, db: webhook_telegram_bot.database.backends.types.DatabaseWrapperImpl, telegram_api: webhook_telegram_bot.telegram.telegram_api.TelegramAPI, template_engine: jinja2.Environment) aiohttp.web.Response

Return message about webhook deletion.

Parameters
  • chat_id – chat identification number

  • webhook_id – chat identification string

  • db – DatabaseWrapper implementation instance

  • telegram_api – TelegramAPI instance

  • template_engine – template engine instance

Returns

bot response