Skip to content

Commit d8bc095

Browse files
cyberplantfabaff
authored andcommitted
Update to use new format on the full config sample (home-assistant#2524)
* Update to use new format on the full config sample * Replace hass with Home Assistant
1 parent e944c6c commit d8bc095

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

source/_components/telegram_bot.webhooks.markdown

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ ha_category: Telegram chatbot
1212
ha_release: 0.42
1313
---
1414

15-
Telegram chatbot webhooks implementation as described in [docs](https://core.telegram.org/bots/webhooks).
15+
Telegram chatbot webhooks implementation as described in the Telegram [documentation](https://core.telegram.org/bots/webhooks).
1616

17-
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.
17+
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.
1818

1919
To integrate this into Home Assistant, add the following section to your `configuration.yaml` file:
2020

@@ -46,7 +46,8 @@ Full configuration sample:
4646
http:
4747
base_url: <public_url>
4848
49-
telegram_webhooks:
49+
telegram_bot:
50+
platform: webhooks
5051
api_key: ABCDEFGHJKLMNOPQRSTUVXYZ
5152
trusted_networks:
5253
- 149.154.167.197/32
@@ -58,4 +59,4 @@ telegram_webhooks:
5859
allowed_chat_ids:
5960
- 12345
6061
- 67890
61-
```
62+
```

0 commit comments

Comments
 (0)