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:
GMFalka 2017-01-09 20:46:44 +01:00 committed by Fabian Affolter
parent 1dac7e9af8
commit 34b02cca92
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F

View File

@ -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 %}