tg-classic-messages
Installation
SKILL.md
tg-classic-messages
Checked against the official docs on 2026-10-30: Bot API 10.3 (August 24, 2026). Pre-send rules below come from Formatting options, the method pages and Sending files. Nothing here was run against a live bot.
Classic or rich
Default to the classic message. Take sendRichMessage when the content needs structure the classic format lacks. examples/same-post.md builds one post both ways.
| Need | Classic | Rich (tg-rich-messages) |
|---|---|---|
| Text up to 4096 characters | yes | yes |
| Longer than 4096, one message | no, split into several | up to 32768 |
| Headings, tables, lists, formulas, details | no | yes |
| Link preview control | link_preview_options |
no such parameter |
| Media with a caption, spoiler flag, caption position | caption, has_spoiler, show_caption_above_media |
media blocks with their own captions |
| Album of 2-10 items | sendMediaGroup |
collage, slideshow |
| Poll | sendPoll (tg-polls) |
no poll block |
| Old clients | render everything | show an update placeholder for features they lack (2026-08-25) |