markdown 向Telegram发送通知消息(通过cURL)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 向Telegram发送通知消息(通过cURL)相关的知识,希望对你有一定的参考价值。

Create a bot, gets its API token, get the ID of the channel.

https://core.telegram.org/bots/api#sendmessage
```shell
$ curl -X POST \
       -H 'Content-Type: application/json' \
       -d '{"chat_id": "541123411", "text": "This is a test from curl", "disable_notification": true}' \
       https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage
```

以上是关于markdown 向Telegram发送通知消息(通过cURL)的主要内容,如果未能解决你的问题,请参考以下文章