mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
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:
parent
e944c6c0c1
commit
d8bc0956d5
@ -12,9 +12,9 @@ ha_category: Telegram chatbot
|
|||||||
ha_release: 0.42
|
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:
|
To integrate this into Home Assistant, add the following section to your `configuration.yaml` file:
|
||||||
|
|
||||||
@ -46,7 +46,8 @@ Full configuration sample:
|
|||||||
http:
|
http:
|
||||||
base_url: <public_url>
|
base_url: <public_url>
|
||||||
|
|
||||||
telegram_webhooks:
|
telegram_bot:
|
||||||
|
platform: webhooks
|
||||||
api_key: ABCDEFGHJKLMNOPQRSTUVXYZ
|
api_key: ABCDEFGHJKLMNOPQRSTUVXYZ
|
||||||
trusted_networks:
|
trusted_networks:
|
||||||
- 149.154.167.197/32
|
- 149.154.167.197/32
|
||||||
@ -58,4 +59,4 @@ telegram_webhooks:
|
|||||||
allowed_chat_ids:
|
allowed_chat_ids:
|
||||||
- 12345
|
- 12345
|
||||||
- 67890
|
- 67890
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user