From 552365e0d824768b278e9a0fccb42f98988b8d1f Mon Sep 17 00:00:00 2001 From: Josh Laseter Date: Fri, 29 May 2020 03:00:04 -0400 Subject: [PATCH] Fix telegram_bot callback samples (#13620) --- source/_integrations/telegram_bot.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_integrations/telegram_bot.markdown b/source/_integrations/telegram_bot.markdown index 9e022820e88..0a40eec9d89 100644 --- a/source/_integrations/telegram_bot.markdown +++ b/source/_integrations/telegram_bot.markdown @@ -318,7 +318,7 @@ Text repeater: disable_notification: true inline_keyboard: - "Edit message:/edit_msg, Don't:/do_nothing" - - "Remove this button:/remove button" + - "Remove this button:/remove_button" ``` {% endraw %} @@ -347,11 +347,11 @@ Message editor: title: '*Message edit*' inline_keyboard: - "Edit message:/edit_msg, Don't:/do_nothing" - - "Remove this button:/remove button" + - "Remove this button:/remove_button" message: > Callback received from {{ trigger.event.data.from_first }}. Message id: {{ trigger.event.data.message.message_id }}. - Data: {{ trigger.event.data.data }} + Data: {{ trigger.event.data.data|replace("_", "\_") }} ``` {% endraw %} @@ -366,7 +366,7 @@ Keyboard editor: platform: event event_type: telegram_callback event_data: - command: '/remove button' + command: '/remove_button' action: - service: telegram_bot.answer_callback_query data_template: