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
This commit is contained in:
Luar Roji 2017-04-28 08:37:17 -03:00 committed by Fabian Affolter
parent e944c6c0c1
commit d8bc0956d5

View File

@ -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: <public_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
```
```