Add telegram disable_web_page_preview (telegram.markdown) (#23572)

This commit is contained in:
ildar170975 2022-08-08 18:01:05 +03:00 committed by GitHub
parent 94d9ea340e
commit 41b223c08b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -387,10 +387,14 @@ action:
service: notify.NOTIFIER_NAME
data:
title: "*Send a message*"
message: "That's an example that sends a message with message_tag and disable_notification."
message: |-
That's an example that sends a message with message_tag, disable_notification and disable_web_page_preview.
<a href="https://www.home-assistant.io/">HA site</a>
data:
parse_mode: html
message_tag: "example_tag"
disable_notification: True
disable_web_page_preview: True
```
{% configuration %}
@ -403,6 +407,10 @@ disable_notification:
required: false
default: false
type: boolean
disable_web_page_preview:
description: True/false to display a webpage preview.
default: false
type: boolean
message_tag:
description: Tag for sent message.
required: false