Repository navigation
BOT API v10.4 - #441
Open
skiddgoddamn wants to merge 4 commits into
Open
BOT API v10.4#441skiddgoddamn wants to merge 4 commits into
skiddgoddamn wants to merge 4 commits into
Conversation
Widgets, ephemeral replies to callback queries, rich message quotes, TON wallet, chat share themes, gifts. See https://core.telegram.org/bots/api-changelog#november-9-2026 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tData Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
|
Hello! I pushed some minor corrections directly to this branch:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds Bot API 10.4 (changelog). Upstream was at 10.3.
Widgets
Widget,Message.widget,ExternalReplyInfo.widgetSendWidget,SendSharedWidget,AnswerWidgetQuery,EditMessageWidgetData,EditSharedWidgetDataWidgetQuery,SharedWidgetQuery,Update.widgetQuery/sharedWidgetQueryWidgetQueryType(+Data,SignData,SentTransaction, Unknown fallback),WidgetQueryWalletInputWidgetMessageContent,InputSharedWidgetMessageContentEphemeral messages
EphemeralMessageParameters.receiverUserIdis optional,replyToCallbackQuery(id)factorychatIdfor the 14 send methods (sendMessage, sendRichMessage, sendAnimation, sendAudio, sendContact, sendDocument, sendLivePhoto, sendLocation, sendPhoto, sendSticker, sendVenue, sendVideo, sendVideoNote, sendVoice)Quotes from rich messages:
TextQuote.richTexts,ReplyParameters.quoteRichTextsTON wallet:
TonWalletCard,TonWalletCardSticker,TonNft,TonNftAttribute,TonWalletTransfer,ChatFullInfo.tonWalletCard,Message.tonWalletTransfer,RichTextTonAddress;StoryAreaPositionrenamed toAreaPosition(breaking, as in the API)Chat share themes:
ChatShareTheme*,EmojiType*,ChatShareThemeBackdrop(s),GetChatShareThemeBackdrops,ChatFullInfo.shareThemeGifts:
GetUniqueGift,DeleteBusinessAccountGiftGeneral:
MessageEntity.Typeton_address,bank_card_number;custom_description_parse_mode/entitiesinVerifyUser/VerifyChat;PaidMessagesWaived,Message.paidMessagesWaived; version bumped to 10.4.0.Tests: added offline
BotApi104Test(JSON parsing and request parameters). Integration tests needing a token were not run, they compile. Note: on JDK 17ModelTestfails in EqualsVerifier on an existing class (RichTextCode, "Unsupported class file major version 61"), so equals of the new classes was not verified by it.🤖 Generated with Claude Code