docs: improve Telegram webhook documentation formatting

- Add proper JSON code block formatting for the template
- Keep all improvements from PR #401 by @rschoell
- Ensure consistent formatting throughout the document
This commit is contained in:
Pulse Monitor
2025-08-31 20:23:02 +00:00
parent 428b40d6d2
commit d0f20fc8cb
+2
View File
@@ -32,11 +32,13 @@ Method: POST
Headers: Content-Type: application/json
Template should be a JSON payload like:
```json
{
"chat_id": "YOUR_CHAT_ID",
"text": "{{.Message}} on {{.Node}}",
"parse_mode": "Markdown"
}
```
1. Create a bot with @BotFather on Telegram
2. Get your bot token from BotFather