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 — feat: Add Telegram Bot API 10.3 support by Veez-Mega · Pull Request #5359 · python-telegram-bot/python-telegram-bot

Conversation

@Veez-Mega

@Veez-Mega Veez-Mega commented Sep 16, 2026

Copy link
Copy Markdown

Summary of Changes

This Pull Request introduces complete support for Telegram Bot API 10.3:

1. Rich Messages & Input Rich Blocks (telegram._richmessage)

  • Rich Text Types (26 elements): RichTextBold, RichTextItalic, RichTextUnderline, RichTextStrikethrough, RichTextSpoiler, RichTextCode, RichTextPreformatted, RichTextCustomEmoji, RichTextDateTime, RichTextUrl, RichTextEmailAddress, RichTextPhoneNumber, RichTextMention, RichTextHashtag, RichTextCashtag, RichTextBotCommand, RichTextBankCardNumber, RichTextButton, RichTextMarked, RichTextReference, RichTextReferenceLink, RichTextAnchor, RichTextAnchorLink, RichTextMathematicalExpression, RichTextSubscript, RichTextSuperscript, RichTextTextMention.
  • Output Rich Blocks (26 types): RichBlockParagraph, RichBlockSectionHeading, RichBlockPreformatted, RichBlockFooter, RichBlockDivider, RichBlockMathematicalExpression, RichBlockAnchor, RichBlockList, RichBlockListItem, RichBlockBlockquote, RichBlockExpandableBlockquote, RichBlockPullquote, RichBlockCollage, RichBlockSlideshow, RichBlockDetails, RichBlockMap, RichBlockButtons, RichBlockTable, RichBlockDocument, RichBlockPhoto, RichBlockVideo, RichBlockAudio, RichBlockAnimation, RichBlockVoiceNote, RichBlockThinking.
  • Input Rich Blocks (23 types): InputRichBlockParagraph, InputRichBlockSectionHeading, InputRichBlockPreformatted, InputRichBlockFooter, InputRichBlockDivider, InputRichBlockButtons, InputRichBlockTable, InputRichBlockBlockquote, InputRichBlockExpandableBlockquote, InputRichBlockPullquote, InputRichBlockPhoto, InputRichBlockVideo, InputRichBlockAudio, InputRichBlockDocument, InputRichBlockAnimation, InputRichBlockCollage, InputRichBlockSlideshow, InputRichBlockThinking, InputRichBlockMap, InputRichBlockMathematicalExpression, InputRichBlockDetails, InputRichBlockList, InputRichBlockListItem.
  • Containers & Controls: InputRichMessage, RichMessage, RichMessageButton, RichBlockCaption, RichBlockTableCell.
  • Automatic wrapping of local file paths and URLs into InputMediaPhoto, InputMediaDocument, InputMediaAudio, InputMediaVideo, and InputMediaAnimation.

2. Other Bot API 10.3 Features

  • Ephemeral Messages: EphemeralMessage, InputEphemeralMessage.
  • Community & Channel Enhancements: Community, community management helpers.
  • New Update & Button Types: DisabledKeyboardButton, MessageGenerationStopped.

3. Bot Methods & Shortcuts

  • Added Bot.send_rich_message() and Bot.send_rich_message_draft().
  • Added corresponding method overrides in ExtBot.
  • Added shortcut methods in Chat, User, and Message (reply_rich_message, reply_rich_message_draft).

4. Documentation & Tests

  • Added 84 individual Sphinx class documentation .rst files in docs/source/.
  • Integrated telegram.richmessage-tree.rst and updated inclusions/bot_methods.rst.
  • Full unit test coverage in tests/test_richmessage.py, tests/test_ephemeral.py, tests/test_community.py, and tests/test_disabledbutton.py.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@TG-BOTSNETWORK
Add support for Telegram Bot API 10.3 Rich Messages and Input Rich Bl…
d017b00
…ocks
@harshil21 harshil21 closed this Sep 16, 2026
@isrealnifemi2009-dotcom

isrealnifemi2009-dotcom commented Sep 18, 2026

Copy link
Copy Markdown

Yh

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Heart-Machine Heart-Machine mentioned this pull request Sep 22, 2026
Offer the whole carousel as one inline message Heart-Machine/Nonnus_bot#25
Merged
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@Veez-Mega @isrealnifemi2009-dotcom @harshil21 @TG-BOTSNETWORK
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.