send_rich_message
Publish long-form rich Telegram posts with headings, lists, tables, and up to 50 inline media, bypassing the 1024-character caption limit of photo messages.
Instructions
Send a rich message (Bot API 10.1) — the long-form post format. Up to 32768 characters with headings, lists, tables, block quotes, pull quotes, collages, slideshows, details blocks, footnotes, formulas, maps and up to 50 inline media. Use this instead of send_photo when a post exceeds the 1024-character caption limit. Call telegram_format with topic "rich_message" for the exact syntax before building the post.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat ID or @username | |
| reply_markup | No | InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, or ForceReply | |
| rich_message | Yes | InputRichMessage — the long-form post format. Set EXACTLY ONE of markdown, html or blocks. Limits: 32768 characters, 500 blocks (nested items count), 50 media, 20 table columns, 16 nesting levels. Images go in their own block as HTTP(S) URLs. Unsure of the syntax? Call telegram_format with topic "rich_message" first. | |
| protect_content | No | ||
| reply_parameters | No | ReplyParameters object | |
| message_effect_id | No | ||
| message_thread_id | No | ||
| allow_paid_broadcast | No | ||
| disable_notification | No | ||
| business_connection_id | No | ||
| direct_messages_topic_id | No | ||
| suggested_post_parameters | No | SuggestedPostParameters object (price, send_date) — direct messages chats only |