docs: add location message

This commit is contained in:
Bo-Yi Wu
2019-09-25 21:22:36 +08:00
parent f622f39b03
commit 82f08879c5
+13 -1
View File
@@ -32,7 +32,19 @@ Remove `args` to send the default message.
![workflow](./images/telegram-workflow.png)
## Environment variables
send location message:
```yml
- name: send location message
uses: appleboy/telegram-action@master
with:
location: '24.9163213,121.1424972'
env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
TELEGRAM_TO: ${{ secrets.TELEGRAM_TO }}
```
## Input variables
* photo - optional. photo message
* document - optional. document message