Bot API 10.3: Inline Buttons, Ephemeral Messages, and Rich Content
Telegram's Bot API 10.3 introduces significant enhancements for bot developers, including native inline buttons within rich messages, ephemeral message overlays for dynamic interactions, and expanded rich message capabilities.

What changed in Bot API 10.3?
Bot API 10.3 changed how bots could lay out buttons, replace messages and attach content. It also introduced a stop control for streamed responses. The changes mattered to developers building chat interactions as well as those launching Mini Apps.
Which changes affect existing bots?
Start with the parts your bot already uses: buttons, message replacement, attachments or streamed replies.
What can inline buttons do now?
- Inline Buttons: Buttons can now be integrated directly within rich messages, allowing for multiple styles and custom alignment.
- Functionality: These buttons support various actions, including callbacks, Mini Apps, Login URLs, and text copying.
- Disabled Buttons: Bots can now mark inline buttons as disabled to manage user interactions effectively.
When should a bot send an ephemeral message?
- Message Replacement: Bots can replace their messages with an ephemeral overlay, which can then be edited to include rich content or newly uploaded media.
- User Experience: This feature allows for more personalized and dynamic interactions within a single message.
What can a rich message contain?
- Document Attachment: Bots can now attach documents to rich messages, enhancing the content they can deliver.
- Media Embedding: Easier embedding of media, including previously uploaded files, is now supported.
- Expandable Quote Blocks and Tables: Rich Messages can utilize expandable quote blocks and compact tables for better content organization.
What changed for AI agents?
- Stop Button: A native Stop button for streamed drafts has been introduced, with the option to preserve partial responses for improved user experience.
"This update unlocks rich, personalized flows and responses running in a single message."
What should bot founders test?
These enhancements allow bot developers to create more interactive and visually appealing experiences, improving user engagement and satisfaction. The ability to use inline buttons and ephemeral messages can lead to more streamlined interactions, while rich content capabilities allow for greater flexibility in how information is presented.
For a complete list of changes, refer to the full changelog.
Watch the original Bot API 10.3 demonstration (MP4)
Where was the update announced?
For more details, visit the original Telegram post on @BotNews.
Be the first to react
Comments
No comments yet. Be the first to share your thoughts!


