Full Support for Bot API 10.1
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
API 10.1
Telegram released Bot API 10.1 on June 11, 2026:
https://core.telegram.org/bots/api-changelog#june-11-2026
This release introduces Rich Messages and a few additional Bot API changes that are not yet exposed by PTB as far as I can tell. In particular, libraries and downstream integrations currently cannot use the new rich message methods and types through PTB's typed API.
[!IMPORTANT]
- Comment here or in the dev group what you want to work on so it can be assigned and tracked.
- Please copy the relevant part of the checklist from this issue to your PR and make sure to cover everything.
- If this is your first contribution, please read the contribution guide and feel free to reach out with any questions via https://t.me/pythontelegrambotchannel/105.
Describe the solution you'd like
Add full support for Bot API 10.1.
Rich Messages
- Added support for Rich Messages, allowing bots to send highly structured text and stream AI-generated replies with seamless rich formatting.
- Added the classes RichTextBold, RichTextItalic, RichTextUnderline, RichTextStrikethrough, RichTextSpoiler, RichTextDateTime, RichTextTextMention, RichTextSubscript, RichTextSuperscript, RichTextMarked, RichTextCode, RichTextCustomEmoji, RichTextMathematicalExpression, RichTextUrl, RichTextEmailAddress, RichTextPhoneNumber, RichTextBankCardNumber, RichTextMention, RichTextHashtag, RichTextCashtag, RichTextBotCommand, RichTextAnchor, RichTextAnchorLink, RichTextReference, and RichTextReferenceLink.
- Added the class RichText.
- Added the class RichBlockCaption.
- Added the class RichBlockTableCell.
- Added the class RichBlockListItem.
- Added the classes RichBlockParagraph, RichBlockSectionHeading, RichBlockPreformatted, RichBlockFooter, RichBlockDivider, RichBlockMathematicalExpression, RichBlockAnchor, RichBlockList, RichBlockBlockQuotation, RichBlockPullQuotation, RichBlockCollage, RichBlockSlideshow, RichBlockTable, RichBlockDetails, RichBlockMap, RichBlockAnimation, RichBlockAudio, RichBlockPhoto, RichBlockVideo, RichBlockVoiceNote, and RichBlockThinking.
- Added the class RichBlock.
- Added the class RichMessage.
- Added the field
rich_messageto the class Message. - Added the class InputRichMessage, describing a rich message to send.
- Added the class InputRichMessageContent and allowed it to be used as InputMessageContent in results of inline, guest, and Web App queries.
- Added the method sendRichMessage, allowing bots to send rich messages.
- Added the method sendRichMessageDraft, allowing bots to stream partial rich messages.
- Added the parameter
rich_messageto the method editMessageText, allowing bots to edit rich messages.
Join Request Queries
- Added the field
supports_join_request_queriesto the class User. - Added the field
guard_botto the class ChatFullInfo. - Added the field
query_idto the class ChatJoinRequest. - Added the method answerChatJoinRequestQuery.
- Added the method sendChatJoinRequestWebApp.
Polls
- Added the class Link and the field
linkto the class PollMedia. - Added the class InputMediaLink and allowed it to be used as InputPollOptionMedia.
Describe alternatives you've considered
For now, users can call the new methods through the raw Bot API request layer and build the InputRichMessage payloads as plain dictionaries. That works around the missing typed support, but it bypasses PTB's typed interface and convenience methods.
Additional context
Rich Messages are especially relevant for bots that render structured or AI-generated output: headings, lists, tables, code blocks, collapsible sections, LaTeX/math expressions, media blocks, and streamed draft replies.
Source: python-telegram-bot/python-telegram-bot