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 952ff7396b
commit 0c5b085074

View File

@ -67,7 +67,7 @@ action:
service: notify.NOTIFIER_NAME
data:
title: Send an images
message: That's a example that sends an image.
message: That's an example that sends an image.
data:
photo:
- 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.
- **caption** (*Optional*): The title of the image.
- **username** (*Optional*): Username for an URL which require HTTP basic authentication.
- **password** (*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 a URL which require HTTP basic authentication.
### {% linkable_title Document support %}
@ -92,18 +92,18 @@ action:
service: notify.NOTIFIER_NAME
data:
title: Send a document
message: That's a example that sends a document.
message: That's an example that sends a document.
data:
document:
file: /tmp/whatever.odf
caption: Picture Title xy
caption: Document Title xy
```
- **url** or **file** (*Required*): For local or remote path to an image.
- **caption** (*Optional*): The title of the image.
- **username** (*Optional*): Username for an URL which require HTTP basic authentication.
- **password** (*Optional*): Username for an URL which require HTTP basic authentication.
- **url** or **file** (*Required*): For local or remote path to a document.
- **caption** (*Optional*): The title of the document.
- **username** (*Optional*): Username for a URL which require HTTP basic authentication.
- **password** (*Optional*): Username for a URL which require HTTP basic authentication.
### {% linkable_title Location support %}