From d8bc0956d5a8bf8b02a63e24b89900405aee0ef6 Mon Sep 17 00:00:00 2001 From: Luar Roji Date: Fri, 28 Apr 2017 08:37:17 -0300 Subject: [PATCH] Update to use new format on the full config sample (#2524) * Update to use new format on the full config sample * Replace hass with Home Assistant --- source/_components/telegram_bot.webhooks.markdown | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/_components/telegram_bot.webhooks.markdown b/source/_components/telegram_bot.webhooks.markdown index 7b2dfe387dc..7bb8c601914 100644 --- a/source/_components/telegram_bot.webhooks.markdown +++ b/source/_components/telegram_bot.webhooks.markdown @@ -12,9 +12,9 @@ ha_category: Telegram chatbot ha_release: 0.42 --- -Telegram chatbot webhooks implementation as described in [docs](https://core.telegram.org/bots/webhooks). +Telegram chatbot webhooks implementation as described in the Telegram [documentation](https://core.telegram.org/bots/webhooks). -One of two bot implementations supported by Telegram. Described by Telegram as the preferred implementation but requires your hass instance to be exposed to the internet. +This is one of two bot implementations supported by Telegram. Described by Telegram as the preferred implementation but requires your Home Assistant instance to be exposed to the internet. To integrate this into Home Assistant, add the following section to your `configuration.yaml` file: @@ -46,7 +46,8 @@ Full configuration sample: http: base_url: -telegram_webhooks: +telegram_bot: + platform: webhooks api_key: ABCDEFGHJKLMNOPQRSTUVXYZ trusted_networks: - 149.154.167.197/32 @@ -58,4 +59,4 @@ telegram_webhooks: allowed_chat_ids: - 12345 - 67890 -``` \ No newline at end of file +```