mirror of
https://github.com/home-assistant/core.git
synced 2026-02-22 02:47:14 +00:00
15 lines
383 B
Python
15 lines
383 B
Python
"""Support for Telegram bot to send messages only."""
|
|
|
|
from telegram import Bot
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
from .bot import BaseTelegramBot, TelegramBotConfigEntry
|
|
|
|
|
|
async def async_setup_bot_platform(
|
|
hass: HomeAssistant, bot: Bot, config: TelegramBotConfigEntry
|
|
) -> BaseTelegramBot | None:
|
|
"""Set up the Telegram broadcast platform."""
|
|
return None
|