Update Telegram Broadcast docs (#15125)

This commit is contained in:
Gerard 2020-10-09 14:51:48 +02:00 committed by GitHub
parent e0f58fdebd
commit 57db624c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,9 @@ ha_release: 0.48
ha_domain: telegram_bot 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 ## Configuration
@ -19,13 +21,13 @@ telegram_bot:
- platform: broadcast - platform: broadcast
api_key: YOUR_API_KEY api_key: YOUR_API_KEY
allowed_chat_ids: allowed_chat_ids:
- 12345 - 123456789 # example id of a user
- 67890 - -987654321 # example id of a group, starts with a -
``` ```
{% configuration %} {% configuration %}
allowed_chat_ids: 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 required: true
type: list type: list
api_key: api_key: