From 9cdc57e63e379936793c4f236908628482d0e42d Mon Sep 17 00:00:00 2001 From: Zippit Date: Mon, 17 Apr 2017 08:46:58 +0200 Subject: [PATCH] Update telegram_webhooks.markdown (#2435) * Update telegram_webhooks.markdown The telegram.command is the wrong syntax and should be telegram_command. This took me 3 days to figure out so I hope it'll save somebody else the time. * Update telegram_webhooks.markdown --- source/_components/telegram_webhooks.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_components/telegram_webhooks.markdown b/source/_components/telegram_webhooks.markdown index bad857af22b..da3059035c9 100644 --- a/source/_components/telegram_webhooks.markdown +++ b/source/_components/telegram_webhooks.markdown @@ -63,7 +63,7 @@ telegram_webhooks: ### {% linkable_title Configuration samples %} -Telegram webhooks raise an event `telegram.command` with a payload. +Telegram webhooks raise an event `telegram_command` with a payload. ```json { @@ -80,7 +80,7 @@ alias: 'telegram bot that reply pong to ping' hide_entity: true trigger: platform: event - event_type: telegram.command + event_type: telegram_command event_data: command: '/ping' action: @@ -94,7 +94,7 @@ Example that show keyboard interaction with `notify.telegram` ```yaml trigger: platform: event - event_type: telegram.command + event_type: telegram_command event_data: command: '/start' action: @@ -112,7 +112,7 @@ and an automation to trigger a related command "/siren". ```yaml trigger: platform: event - event_type: telegram.command + event_type: telegram_command event_data: command: '/siren' action: