Add html body support for Telegram Notification #3208

Closed
opened 2026-02-28 03:21:43 -05:00 by deekerman · 1 comment
Owner

Originally created by @wvolkov on GitHub (Mar 20, 2024).

I haven't found anything related to Telegram html body support among current opened issues.

🏷️ Feature Request Type

Change to existing notification-provider

🔖 Feature description

It would be great to add option of rich html support while posting messages to TG bot api for more convenient view of nearly-add code-foramtting support at telegram.

✔️ Solution

Add toggle to TG client to support HTML and then pass to body that flag:

{
   "chat_id": -665177050,
    "text": "🌐 some cool HTML-formatted error message with ```code support```",
    "parse_mode": "HTML"
}

Alternatives

No response

📝 Additional Context

No response

Originally created by @wvolkov on GitHub (Mar 20, 2024). ### 📑 I have found these related issues/pull requests I haven't found anything related to Telegram html body support among current opened issues. ### 🏷️ Feature Request Type Change to existing notification-provider ### 🔖 Feature description It would be great to add option of rich html support while posting messages to TG bot api for more convenient view of nearly-add code-foramtting support at telegram. ### ✔️ Solution Add toggle to TG client to support HTML and then pass to body that flag: ``` json { "chat_id": -665177050, "text": "🌐 some cool HTML-formatted error message with ```code support```", "parse_mode": "HTML" } ``` ### ❓ Alternatives _No response_ ### 📝 Additional Context _No response_
Author
Owner

@CommanderStorm commented on GitHub (Mar 20, 2024):

FYI:
If we can make the telegram notification provider have "cards" instead of simple text-messages, I don't think this needs a toggle in the notifications.
See https://github.com/louislam/uptime-kuma/pull/4538 for what I mean with cards.

Doing such detaileded work with notification providers is sadly not something that the core team can do for time reasons.
=> we rely on contributions from users of said notification provider, which know what is possible using said provider.

@CommanderStorm commented on GitHub (Mar 20, 2024): FYI: If we can make the telegram notification provider have "cards" instead of simple text-messages, I don't think this needs a toggle in the notifications. See https://github.com/louislam/uptime-kuma/pull/4538 for what I mean with cards. Doing such detaileded work with notification providers is sadly not something that the core team can do for time reasons. => we rely on [contributions from users](https://github.com/louislam/uptime-kuma/blob/bc077cc536ee95b904f9a4a730b1fcedcf1788dd/CONTRIBUTING.md) of said notification provider, which know what is possible using said provider.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#3208
No description provided.