From 57db624c5db86ca588286817ed49cf4cc3f0196d Mon Sep 17 00:00:00 2001 From: Gerard Date: Fri, 9 Oct 2020 14:51:48 +0200 Subject: [PATCH] Update Telegram Broadcast docs (#15125) --- source/_integrations/telegram_broadcast.markdown | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/_integrations/telegram_broadcast.markdown b/source/_integrations/telegram_broadcast.markdown index 0e3f9c0d865..a73824f85cc 100644 --- a/source/_integrations/telegram_broadcast.markdown +++ b/source/_integrations/telegram_broadcast.markdown @@ -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: