mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update Telegram Broadcast docs (#15125)
This commit is contained in:
parent
e0f58fdebd
commit
57db624c5d
@ -7,7 +7,9 @@ ha_release: 0.48
|
||||
ha_domain: telegram_bot
|
||||
---
|
||||
|
||||
Telegram implementation to support **sending messages only**. Your Home Assistant instance does not have to be exposed to the Internet and there is no polling to receive messages sent to the bot.
|
||||
Telegram implementation to support **sending messages only**. Your Home Assistant instance does not have to be exposed to the internet and there is no polling to receive messages or commands sent to the bot.
|
||||
|
||||
Information on how to send a message via the service `telegram_bot.send_message` can be found [here](/integrations/telegram_bot/#service-telegram_botsend_message).
|
||||
|
||||
## Configuration
|
||||
|
||||
@ -19,13 +21,13 @@ telegram_bot:
|
||||
- platform: broadcast
|
||||
api_key: YOUR_API_KEY
|
||||
allowed_chat_ids:
|
||||
- 12345
|
||||
- 67890
|
||||
- 123456789 # example id of a user
|
||||
- -987654321 # example id of a group, starts with a -
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
allowed_chat_ids:
|
||||
description: A list of users in the `user_id` Telegram format that are authorized to interact with the webhook.
|
||||
description: A list of ids representing the users and group chats to which messages can be send. Default the message will be send to the first alllowed chat_id. By using the `target` service data attribute the message can be send to other chat_ids from the list.
|
||||
required: true
|
||||
type: list
|
||||
api_key:
|
||||
|
Loading…
x
Reference in New Issue
Block a user