webhook_telegram_bot.telegram.commands.edit_webhook

This file contains functions to handle /edit_webhook command.

Module Contents

Functions

edit_webhook_command_handler(chat_id: int, webhook_id: str, telegram_api: webhook_telegram_bot.telegram.telegram_api.TelegramAPI, template_engine: jinja2.Environment) → aiohttp.web.Response

Return list of action with selected webhook.

async webhook_telegram_bot.telegram.commands.edit_webhook.edit_webhook_command_handler(chat_id: int, webhook_id: str, telegram_api: webhook_telegram_bot.telegram.telegram_api.TelegramAPI, template_engine: jinja2.Environment) aiohttp.web.Response

Return list of action with selected webhook.

Parameters
  • chat_id – chat identification number

  • webhook_id – chat identification string

  • telegram_api – TelegramAPI instance

  • template_engine – template engine instance

Returns

bot response