webhook_telegram_bot.plugins.bitbucket.commands.add_bitbucket_webhook

This file contains functions to handle /bitbucket command.

Module Contents

Functions

add_bitbucket_webhook_command_handler(app: aiohttp.web.Application, 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 webhook for Bitbucket repository.

async webhook_telegram_bot.plugins.bitbucket.commands.add_bitbucket_webhook.add_bitbucket_webhook_command_handler(app: aiohttp.web.Application, 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 webhook for Bitbucket repository.

Parameters
  • app – application instance

  • chat_id – chat identification number

  • db – DatabaseWrapper implementation instance

  • telegram_api – TelegramAPI instance

  • template_engine – template engine instance

Returns

bot response