🌱V2P notify.md

This commit is contained in:
Leon 2021-06-24 10:49:21 +08:00 committed by GitHub
parent 0849076fb9
commit 81b379c68b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,9 +8,10 @@
} }
``` ```
# telegram # telegram
```
Post Post
https://api.telegram.org/botxxxxxxxxxx/
`https://api.telegram.org/botxxxxxxxxxx/`
```
{ {
"method": "sendMessage", "method": "sendMessage",
"chat_id": xxxxxxxxxx, "chat_id": xxxxxxxxxx,
@ -43,6 +44,8 @@ or
botNotify2($title$, $body$, $url$) botNotify2($title$, $body$, $url$)
} }
``` ```
and
``` ```
function botNotify(title, body, url) { function botNotify(title, body, url) {
if (body=== "undefined"){body=""} if (body=== "undefined"){body=""}