webhook_telegram_bot.telegram.commands.edit_webhooks

This file contains functions to handle /edit_repositories command.

Module Contents

Functions

edit_webhooks_command_handler(chat_id: int, 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 list of webhooks associated with the chat.

async webhook_telegram_bot.telegram.commands.edit_webhooks.edit_webhooks_command_handler(chat_id: int, 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 list of webhooks associated with the chat.

Parameters
  • chat_id – chat identification number

  • db – DatabaseWrapper implementation instance

  • telegram_api – TelegramAPI instance

  • template_engine – template engine instance

Returns

bot response