mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Update notify.telegram.markdown (#1740)
* Update notify.telegram.markdown "Document support" texts was saying "photos" insted of "documents". Fixed. * Update notify.telegram.markdown * Update notify.telegram.markdown
This commit is contained in:
parent
1dac7e9af8
commit
34b02cca92
@ -67,7 +67,7 @@ action:
|
|||||||
service: notify.NOTIFIER_NAME
|
service: notify.NOTIFIER_NAME
|
||||||
data:
|
data:
|
||||||
title: Send an images
|
title: Send an images
|
||||||
message: That's a example that sends an image.
|
message: That's an example that sends an image.
|
||||||
data:
|
data:
|
||||||
photo:
|
photo:
|
||||||
- url: http://192.168.1.28/camera.jpg
|
- url: http://192.168.1.28/camera.jpg
|
||||||
@ -81,8 +81,8 @@ action:
|
|||||||
|
|
||||||
- **url** or **file** (*Required*): For local or remote path to an image.
|
- **url** or **file** (*Required*): For local or remote path to an image.
|
||||||
- **caption** (*Optional*): The title of the image.
|
- **caption** (*Optional*): The title of the image.
|
||||||
- **username** (*Optional*): Username for an URL which require HTTP basic authentication.
|
- **username** (*Optional*): Username for a URL which require HTTP basic authentication.
|
||||||
- **password** (*Optional*): Username for an URL which require HTTP basic authentication.
|
- **password** (*Optional*): Username for a URL which require HTTP basic authentication.
|
||||||
|
|
||||||
### {% linkable_title Document support %}
|
### {% linkable_title Document support %}
|
||||||
|
|
||||||
@ -92,18 +92,18 @@ action:
|
|||||||
service: notify.NOTIFIER_NAME
|
service: notify.NOTIFIER_NAME
|
||||||
data:
|
data:
|
||||||
title: Send a document
|
title: Send a document
|
||||||
message: That's a example that sends a document.
|
message: That's an example that sends a document.
|
||||||
data:
|
data:
|
||||||
document:
|
document:
|
||||||
file: /tmp/whatever.odf
|
file: /tmp/whatever.odf
|
||||||
caption: Picture Title xy
|
caption: Document Title xy
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- **url** or **file** (*Required*): For local or remote path to an image.
|
- **url** or **file** (*Required*): For local or remote path to a document.
|
||||||
- **caption** (*Optional*): The title of the image.
|
- **caption** (*Optional*): The title of the document.
|
||||||
- **username** (*Optional*): Username for an URL which require HTTP basic authentication.
|
- **username** (*Optional*): Username for a URL which require HTTP basic authentication.
|
||||||
- **password** (*Optional*): Username for an URL which require HTTP basic authentication.
|
- **password** (*Optional*): Username for a URL which require HTTP basic authentication.
|
||||||
|
|
||||||
### {% linkable_title Location support %}
|
### {% linkable_title Location support %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user