🌱V2P notify.md
This commit is contained in:
parent
0849076fb9
commit
81b379c68b
@ -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=""}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user