docs: update Telegram webhook configuration instructions (addresses #305)

- Remove chat_id from URL (should be in JSON payload)
- Add requirement to select 'Telegram Bot' service type
- Include custom payload template example
- Clarify that chat_id goes in the JSON body, not URL params
This commit is contained in:
Pulse Monitor
2025-08-31 19:11:55 +00:00
parent d1e27e0c7a
commit a8180f392b
+11 -2
View File
@@ -39,9 +39,18 @@ Template should be a JSON payload like:
}
1. Create a bot with @BotFather on Telegram
2. Get your bot token
2. Get your bot token from BotFather
3. Get your chat ID by messaging the bot and visiting: `https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates`
4. Use the URL format above (Pulse will handle chat_id correctly)
4. In Pulse, select "Telegram Bot" as the service type
5. Use the URL format: `https://api.telegram.org/bot<YOUR_BOT_TOKEN>/sendMessage`
6. Add a custom payload template:
```json
{
"chat_id": "YOUR_CHAT_ID",
"text": "{{.Message}} on {{.Node}}",
"parse_mode": "Markdown"
}
```
### Slack
```