Skip to content

37.0.0 - #371

Open
InsanusMokrassar wants to merge 1 commit into
masterfrom
37.0.0
Open

37.0.0#371
InsanusMokrassar wants to merge 1 commit into
masterfrom
37.0.0

Conversation

@InsanusMokrassar

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

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