Chat SDK now supports rich text in Telegram
Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

Chat SDK now renders explicit markdown and ast messages as native rich messages on the Telegram adapter. Your bots get real headings, lists, tables, task lists, formulas, and separate media blocks instead of flattened text.
lib/bot.ts
bot.onNewMention(async (thread) => { await thread.post({ markdown: [ "## Deployment status", "", "| Service | Status |", "| --- | --- |", "| API | ✅ Ready |", "| Web | 🚀 Building |", ].join("\n"), });});Post a markdown table and it renders as a native Telegram rich message
What you get:
Native formatting: headings, lists, tables, task lists, formulas, and media blocks.
Streaming: private chats show live draft previews and persist the final response.
Automatic fallback: plain strings, raw messages, cards, and captions continue to work exactly as before.
Read the Telegram adapter documentation to get started.
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.