mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 11:13:26 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user