From d0f20fc8cb1bd3ea881492bb8992eb0b19dcd912 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Sun, 31 Aug 2025 20:23:02 +0000 Subject: [PATCH] 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 --- docs/WEBHOOKS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/WEBHOOKS.md b/docs/WEBHOOKS.md index b6108c455..842818e37 100644 --- a/docs/WEBHOOKS.md +++ b/docs/WEBHOOKS.md @@ -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