Skip to content

Commit ea12573

Browse files
azogueLandrash
authored andcommitted
update telegram proxy parameters (home-assistant#3099)
1 parent 5e97521 commit ea12573

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

source/_components/telegram_bot.broadcast.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Configuration variables:
3232
- **allowed_chat_ids** (*Required*): A list of user in the `user_id` Telegram format enabled to interact to webhook
3333
- **api_key** (*Required*): The API token of your bot.
3434
- **parse_mode** (*Optional*): Default parser for messages if not explicit in message data: 'html' or 'markdown'. Default is 'markdown'.
35+
- **proxy_url** (*Optional*): Proxy url if working behind one (`socks5://proxy_ip:proxy_port`)
36+
- **proxy_params** (*Optional*): Proxy configuration parameters, as dict, if working behind a proxy (`username`, `password`, etc.)
3537

3638
To get your `chat_id` and `api_key` follow the instructions [here](/components/notify.telegram/).
3739

source/_components/telegram_bot.polling.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Configuration variables:
3434
- **allowed_chat_ids** (*Required*): A list of user in the `user_id` Telegram format enabled to interact to webhook
3535
- **api_key** (*Required*): The API token of your bot.
3636
- **parse_mode** (*Optional*): Default parser for messages if not explicit in message data: 'html' or 'markdown'. Default is 'markdown'.
37+
- **proxy_url** (*Optional*): Proxy url if working behind one (`socks5://proxy_ip:proxy_port`)
38+
- **proxy_params** (*Optional*): Proxy configuration parameters, as dict, if working behind a proxy (`username`, `password`, etc.)
3739

3840
To get your `chat_id` and `api_key` follow the instructions [here](/components/notify.telegram/).
3941

source/_components/telegram_bot.webhooks.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Configuration variables:
4040
- **api_key** (*Required*): The API token of your bot.
4141
- **trusted_networks** (*Optional*): Telegram server access ACL as list. Defaults to `149.154.167.197-233`.
4242
- **parse_mode** (*Optional*): Default parser for messages if not explicit in message data: 'html' or 'markdown'. Default is 'markdown'.
43+
- **proxy_url** (*Optional*): Proxy url if working behind one (`socks5://proxy_ip:proxy_port`)
44+
- **proxy_params** (*Optional*): Proxy configuration parameters, as dict, if working behind a proxy (`username`, `password`, etc.)
4345
- **url** (*Optional*): Allow to overwrite the `base_url` from http component for diferent configs.
4446

4547
To get your `chat_id` and `api_key` follow the instructions [here](/components/notify.telegram) .

0 commit comments

Comments
 (0)