Skip to content

37.0.0 - #371

Merged
InsanusMokrassar merged 5 commits into
masterfrom
37.0.0
Oct 9, 2026
Merged

37.0.0#371
InsanusMokrassar merged 5 commits into
masterfrom
37.0.0

Conversation

@InsanusMokrassar

@InsanusMokrassar InsanusMokrassar commented Sep 1, 2026 •

Copy link
Copy Markdown
Owner

THIS UPDATE CONTAINS SUPPORT OF TELEGRAM BOTS API 10.3

Bot API 10.3

Rich Messages

Ephemeral messages

Reply markup

General


Notes

Breaking changes (documented in CHANGELOG.md):

  • OptionallyEphemeralSendRequest and the 13 ephemeral-capable send/reply families replace receiverUserId/callbackQueryId with ephemeralMessageParameters.
  • ChatAdministratorRights gains canSendWelcomeMessages; direct same-module implementations must supply the property.
  • FlowsUpdatesFilter gains messageGenerationStoppedUpdatesFlow; direct implementations must supply the flow.
  • RichText gains isValidRichMessageButtonText; exhaustive when expressions over the extended rich-type sealed hierarchies must cover the Bot API 10.3 variants.

Coverage audit corrections:

  • Corrected expandable-quotation Rich Markdown block HTML from <blockquote collapsed> with Markdown-formatted children to <blockquote expandable> with HTML-formatted nested text and credit.
  • Added secondary live-photo photo multipart attachments to ephemeral and regular media edits, media groups, and paid media.
  • Added named rich-message overloads and generic InputRichMessage/RichMessageContent aliases across both ephemeral reply families.
  • Moved rich-button text validation and markup rendering into the corresponding sealed-hierarchy contracts.
  • Preserved the pre-10.3 positional constructor and componentN prefix for UniqueGiftInfo; the new fields are trailing.

Deferred (follow-up):

  • Official Bot API 10.3 coverage is complete: 21 of 21 items.
  • Pre-existing formatter defects remain deferred in RichBlockFooter.markdown, RichBlockPullQuotation.markdown, RichBlockMap.markdown and RichBlockThinking.markdown: each formatter places Markdown-formatted nested content inside block-level HTML. The defects predate Bot API 10.3 and remain outside the current PR correction scope.

🤖 Generated with OpenAI Codex

Use typed date-time formats and a downloadable sample document.
Wait five seconds between draft chunks so users can stop generation;
match stop events to the originating chat and acknowledge them there.
Limit channel-rights selection to private chats, preserve full chat
identifiers, offer bot selection, and use the replied-to sender ID.

Supply a caption when replacing ephemeral photo media so the next
caption edit starts from a captioned message.
@InsanusMokrassar
InsanusMokrassar merged commit d0da6c8 into master Oct 9, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant