Implement the notification service for Telegram.
Definition at line 60 of file notify.py.
◆ __init__()
| def homeassistant.components.telegram.notify.TelegramNotificationService.__init__ |
( |
|
self, |
|
|
|
hass, |
|
|
|
chat_id |
|
) |
| |
Initialize the service.
Definition at line 63 of file notify.py.
◆ send_message()
| def homeassistant.components.telegram.notify.TelegramNotificationService.send_message |
( |
|
self, |
|
|
|
message = "", |
|
|
** |
kwargs |
|
) |
| |
Send a message to a user.
Definition at line 68 of file notify.py.
◆ _chat_id
| homeassistant.components.telegram.notify.TelegramNotificationService._chat_id |
|
private |
◆ hass
| homeassistant.components.telegram.notify.TelegramNotificationService.hass |
The documentation for this class was generated from the following file:
- core/homeassistant/components/telegram/notify.py