Formatting Text in Telegram Captions: Bold, Links & Spoilers
Captions are no longer limited to plain, unstyled text. Telegram enables complete rich entity formatting inside photo, video, and document captions. Apply Bold, Italic, Strikethrough, Monospace, and Spoilers, embed clickable hyperlinks without messy URLs, and enjoy automatic draft-to-caption conversion when attaching media.
code 1. How Telegram Encodes MessageEntities in Captions
Unlike traditional web services that inject raw, messy HTML tags (like <b> or <a href>) directly into text databases, Telegram separates plain text strings from their formatting instructions using a clean entity array:
MessageEntity Serialization
Formatting is transmitted as an array of objects specifying offset, length, and type (e.g. MessageEntityBold). The underlying text remains 100% clean UTF-8 characters.
Inline Hyperlink Masking
MessageEntityTextUrl lets you assign descriptive link text to long, complex URLs. Your audience sees clean anchor words without bulky tracking parameters polluting the caption view.
Canvas Spoiler Particles
Spoilers in captions render as an animated particle canvas. Tapping the shroud triggers an expanding shockwave animation that uncovers the hidden text or media.
Draft Auto-Conversion Pipeline
If you compose a formatted draft in the message bar and decide to attach an image afterward, Telegram's client engine migrates the message draft into the attachment's caption tray seamlessly.
table_chart 2. Media Caption Formatting Comparison
How Telegram's caption capabilities compare against conventional social and messaging apps:
| Capability | Telegram Messenger | Instagram / Signal | |
|---|---|---|---|
| Embedded Hyperlinks | Yes (Custom clickable anchor text) | No (Raw full URLs only) | Instagram: No links / Signal: Raw only |
| Spoiler Obfuscation | Yes (Interactive particle shroud) | None | None |
| Monospace Code Formatting | Yes (Preserves whitespace & font) | Basic backticks | None |
| Draft-to-Caption Migration | Instant automatic conversion | Attaching media resets draft | Resets draft input |
When typing captions in Telegram Desktop, you never need to right-click: highlight text and press Ctrl+B (Cmd+B on Mac) for Bold, Ctrl+I for Italic, Ctrl+K to insert a Link, and Ctrl+Shift+P for a Spoiler!
Telegram Caption Formatting Architecture at a Glance
A comprehensive visual flowchart summarizing MessageEntity serialization, inline link embedding, spoiler particle shrouds, and draft auto-inheritance.