Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.telegram_bot.webhooks Namespace Reference

Classes

class  PushBot
 
class  PushBotView
 

Functions

def async_setup_platform (hass, bot, config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string REMOVE_WEBHOOK_URL = ""
 
int SECRET_TOKEN_LENGTH = 32
 
string TELEGRAM_WEBHOOK_URL = "/api/telegram_webhooks"
 

Detailed Description

Support for Telegram bots using webhooks.

Function Documentation

◆ async_setup_platform()

def homeassistant.components.telegram_bot.webhooks.async_setup_platform (   hass,
  bot,
  config 
)
Set up the Telegram webhooks platform.

Definition at line 27 of file webhooks.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.telegram_bot.webhooks._LOGGER = logging.getLogger(__name__)
private

Definition at line 20 of file webhooks.py.

◆ REMOVE_WEBHOOK_URL

string homeassistant.components.telegram_bot.webhooks.REMOVE_WEBHOOK_URL = ""

Definition at line 23 of file webhooks.py.

◆ SECRET_TOKEN_LENGTH

int homeassistant.components.telegram_bot.webhooks.SECRET_TOKEN_LENGTH = 32

Definition at line 24 of file webhooks.py.

◆ TELEGRAM_WEBHOOK_URL

string homeassistant.components.telegram_bot.webhooks.TELEGRAM_WEBHOOK_URL = "/api/telegram_webhooks"

Definition at line 22 of file webhooks.py.