GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Full Support for Bot API 10.1 · Issue #5261 · python-telegram-bot/python-telegram-bot

Full Support for Bot API 10.1 #5261

New issue
Copy link
New issue
Copy link
Open
💡 feature
Open
Full Support for Bot API 10.1#5261
💡 feature
Copy link
Labels
⚙️ bot-apiaffected functionality: bot-apiaffected functionality: bot-api
Milestone
v23

Description

@AndrewGolikov55
AndrewGolikov55
opened on Jun 11, 2026
Issue body actions

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_message to 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_message to the method editMessageText, allowing bots to edit rich messages.

Join Request Queries

  • Added the field supports_join_request_queries to the class User.
  • Added the field guard_bot to the class ChatFullInfo.
  • Added the field query_id to the class ChatJoinRequest.
  • Added the method answerChatJoinRequestQuery.
  • Added the method sendChatJoinRequestWebApp.

Polls

  • Added the class Link and the field link to 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.

Reacted by Tengxiang Yang, Chiro, Alex, Egor M., nebenwelt, Viktor Oreshkin, Makar Korolenko, Sowtyy, Rich Lin, Mahdi Soleimani and 14 more
Reacted by HZH, Aether/Pneuma, Tim Kleinschmidt, Chiro, Viktor Oreshkin, Max Dmitriev, Mukhsin Mukhtorov, Sergey Ivanychev, zotabee, RememberTheAir and 1 more

Activity

  1. Aether0Pneuma commented on Jun 12, 2026

    @Aether0Pneuma
    Aether0Pneuma
    on Jun 12, 2026
    More actions

    Up

  2. Poolitzer commented on Jun 12, 2026

    @Poolitzer
    Poolitzer
    on Jun 12, 2026
    Member
    More actions

    Up?

  3. mcar2107 commented on Jun 15, 2026

    @mcar2107
    mcar2107
    on Jun 15, 2026
    More actions

    Up

  4. harshil21
    updated Priority Medium and Effort High on Jun 16, 2026
  5. harshil21
    added this to the v23 milestone on Jun 16, 2026
  6. harshil21
    added
    ⚙️ bot-apiaffected functionality: bot-apiaffected functionality: bot-api
    on Jun 16, 2026
  7. nebenwelt commented on Jun 16, 2026

    @nebenwelt
    nebenwelt
    on Jun 16, 2026
    More actions

    Up

  8. harshil21
    added the
    💡 feature
    issue type on Jun 17, 2026
  9. tymrtn commented on Jun 18, 2026

    @tymrtn
    tymrtn
    on Jun 18, 2026
    More actions

    I'd like to work on an initial Rich Messages slice, starting with the send-side API surface rather than the full type hierarchy in one large PR.

    Proposed first PR scope:

    • InputRichMessage
    • InputRichMessageContent
    • Bot.send_rich_message
    • Bot.send_rich_message_draft
    • corresponding User/Chat/Message shortcuts if they fit the existing patterns
    • tests modeled after the existing send_message_draft / send-method coverage

    If you would prefer the foundational RichText* / RichBlock* classes first, or want the first PR split even smaller, I can adjust before opening the PR.

    Reacted by nebenwelt
  10. harshil21 commented on Jun 18, 2026

    @harshil21
    harshil21
    on Jun 18, 2026
    Member
    More actions

    To anyone wanting to contribute for this update right now - we are pausing development of this update until we complete major refactors which make implementing this and future API updates easier.

    I know this is a very large and exciting update, but the wait should be worth it at the end.

    Reacted by Lelzin λ and zotabee
  11. tymrtn commented on Jun 18, 2026

    @tymrtn
    tymrtn
    on Jun 18, 2026 · Hidden as off-topic
    show commentMore actions
  12. Mukhsin0508 commented on Jul 1, 2026

    @Mukhsin0508
    Mukhsin0508
    on Jul 1, 2026
    More actions

    anything on this yet?

  13. capric98 commented on Jul 9, 2026

    @capric98
    capric98
    on Jul 9, 2026
    More actions

    To anyone wanting to contribute for this update right now - we are pausing development of this update until we complete major refactors which make implementing this and future API updates easier.

    I guess it will still take a while before the API 10.1 is available in this project.
    Previously I made a simple vibe coding in my own project to implement (send|reply)_rich_message* functions and so far it works well. So I just put it here as a reference to anyone who want to use the new feature from bot API:
    https://github.com/capric98/cyber-whaleyeah/blob/master/whaleyeah/rich_message.py

  14. AAraKKe commented on Jul 16, 2026

    @AAraKKe
    AAraKKe
    on Jul 16, 2026
    More actions

    Well 10.2 is out now, I am guessing they might all be supported together? Or will you want to focus first in 10.1? I see this is tracking v23, by then I am guessing we will have multiple updates queuing up.

  15. tymrtn commented on Jul 17, 2026

    @tymrtn
    tymrtn
    on Jul 17, 2026
    More actions

    To anyone wanting to contribute for this update right now - we are pausing development of this update until we complete major refactors which make implementing this and future API updates easier.

    I know this is a very large and exciting update, but the wait should be worth it at the end.

    Suggest we fork it and move on. All agree?

    Reacted by Poolitzer, AbelLykens, Eugene Dodin, Harshil, Javadz, RememberTheAir and Jose
  16. donoaga commented on Oct 15, 2026

    @donoaga
    donoaga
    on Oct 15, 2026
    More actions

    Hi - I’d like to help implement Bot API 10.1 Rich Messages (part of #5261). I see several related PRs already ( #5263, #5275, #5356, #5359). I can work on either:

    • the typed models / full RichText & RichBlock hierarchy (receiving side + Message.rich_message) or
    • the remaining typed InputRichMessageContent / inline result support, or
    • tests/docs and finishing any gaps for the send-side
  17. Aweryc commented on Oct 21, 2026

    @Aweryc
    Aweryc
    on Oct 21, 2026
    Contributor
    More actions

    Up!

  18. tymrtn commented on Oct 21, 2026

    @tymrtn
    tymrtn
    on Oct 21, 2026
    More actions

    Not sure, but this project appears to be stale. Given the work is already done and this is a high priority for many app/bot devs, perhaps a fork would be appropriate?

  19. harshil21 commented on Oct 21, 2026

    @harshil21
    harshil21
    on Oct 21, 2026
    Member
    More actions

    29. Not sure, but this project appears to be stale. Given the work is already done and this is a high priority for many app/bot devs, perhaps a fork would be appropriate?

    The work isn't done and the project is not stale, as you can clearly see in the git history

    Reacted by zotabee, Eugene Dodin, RememberTheAir and AbelLykens
  20. AbelLykens commented on Oct 23, 2026

    @AbelLykens
    AbelLykens
    on Oct 23, 2026
    More actions

    29. > 29. Not sure, but this project appears to be stale. Given the work is already done and this is a high priority for many app/bot devs, perhaps a fork would be appropriate?

         The work isn't done and the project is not stale, as you can clearly see in the git history
    

    What's the best way to follow progress towards the rewrite which would allow working on this Bot API Support?

  21. harshil21 commented on Oct 23, 2026

    @harshil21
    harshil21
    on Oct 23, 2026
    Member
    More actions

    @AbelLykens #5334

    Reacted by AbelLykens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚙️ bot-apiaffected functionality: bot-apiaffected functionality: bot-api

    Type

    💡 feature

    Fields

    Priority

    Medium

    Effort

    High

    Projects

    No projects

      Milestone

      • v23

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.