webhook_telegram_bot.telegram.commands.add_webhook

This file contains functions to handle /add_webhook command.

Module Contents

Functions

add_webhook_command_handler(chat_id: int, telegram_api: webhook_telegram_bot.telegram.telegram_api.TelegramAPI, template_engine: jinja2.Environment, plugins_menu_buttons: List[List[Dict[str, Any]]]) → aiohttp.web.Response

Return list of supported services.

async webhook_telegram_bot.telegram.commands.add_webhook.add_webhook_command_handler(chat_id: int, telegram_api: webhook_telegram_bot.telegram.telegram_api.TelegramAPI, template_engine: jinja2.Environment, plugins_menu_buttons: List[List[Dict[str, Any]]]) aiohttp.web.Response

Return list of supported services.

Parameters
  • chat_id – chat identification number

  • telegram_api – TelegramAPI instance

  • template_engine – template engine instance

  • plugins_menu_buttons – list of inline keyboard structures

Returns

bot response