From 5094864a4b29e592b93faf2916193aff61ced7e4 Mon Sep 17 00:00:00 2001 From: Martin Bauer Date: Mon, 15 Jul 2019 21:42:40 +0200 Subject: [PATCH] Telegram: polling->webhooks --- config_creation/manual_config.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config_creation/manual_config.yaml b/config_creation/manual_config.yaml index 529075a..1ccc49a 100644 --- a/config_creation/manual_config.yaml +++ b/config_creation/manual_config.yaml @@ -61,10 +61,18 @@ ios: telegram_bot: - - platform: polling + - platform: webhooks + parse_mode: html api_key: !secret telegram_token allowed_chat_ids: - !secret telegram_chatid_martin + trusted_networks: + - 149.154.167.197/32 + - 149.154.167.198/31 + - 149.154.167.200/29 + - 149.154.167.208/28 + - 149.154.167.224/29 + - 149.154.167.232/31 notify: - name: telegram_martin