Fix telegram_bot callback samples (#13620)

This commit is contained in:
Josh Laseter 2020-05-29 03:00:04 -04:00 committed by GitHub
parent f81474bdfc
commit 552365e0d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: