telegram-formatting

Format Telegram Bot API messages with HTML parse mode and entity escaping.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/VedaAstro/veda-skills --skill telegram-formatting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: telegram-formatting
Source: https://github.com/VedaAstro/veda-skills/tree/main/telegram-formatting
Command: npx skills add https://github.com/VedaAstro/veda-skills --skill telegram-formatting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Telegram messages often break when rich text is formatted incorrectly, and this Skill helps generate valid Bot API markup that preserves styling while avoiding parse failures.

Core Features & Use Cases

  • HTML formatting: Create bold, italic, underline, strikethrough, code, links, spoilers, and blockquotes for Telegram bots.
  • Safe escaping: Correctly escape user-generated text so <, >, and & do not break parse_mode="HTML".
  • Bot workflows: Use it for send_message and edit_message_text output in monitoring bots, task bots, and automated notifications.

Quick Start

Ask the assistant to format your Telegram bot message in HTML and escape all user content before sending it through parse_mode="HTML".

Frequently Asked Questions about telegram-formatting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I format Telegram bot messages with HTML without getting parse errors?

To format Telegram bot messages without parse errors, apply HTML parse mode and correctly escape text containing <, >, and &. This Skill generates valid Bot API markup ensuring tags are nested correctly and special characters do not break message delivery.

How do I escape special characters in Telegram bot API messages?

To escape special characters in Telegram Bot API messages, replace <, >, and & with their corresponding HTML entities. This Skill safely escapes user-generated content so dynamic text does not trigger parse_mode failures in automated bot replies.

Can I use bold, italic, and spoilers in Telegram bot notifications?

Yes, you can use bold, italic, spoilers, and other rich text in Telegram bot notifications by wrapping text in valid HTML tags. This Skill applies correct tag nesting for blockquotes, code blocks, and links to ensure notifications render correctly.

What is the best way to handle user-generated text in Telegram HTML parse mode?

The best way to handle user-generated text in Telegram HTML parse mode is to strictly escape <, >, and & characters before sending. This Skill processes dynamic input to prevent malformed tags from breaking send_message and edit_message_text workflows.

Why does my Telegram bot message fail when using parse_mode HTML?

Your Telegram bot message fails when using parse_mode HTML because of unescaped <, >, or & characters or incorrect tag nesting. This Skill fixes formatting issues by validating tag structure and escaping content so bots deliver messages successfully.