Repository navigation
Update telegram_bot_api_version to v37 - autoclosed - #372
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/major-telegram_bot_api_version
branch
from
September 8, 2026 15:16
d2b7f66 to
8beec8a
Compare
renovate
Bot
force-pushed
the
renovate/major-telegram_bot_api_version
branch
from
October 8, 2026 09:31
8beec8a to
66b0f5a
Compare
renovate
Bot
force-pushed
the
renovate/major-telegram_bot_api_version
branch
from
October 8, 2026 15:49
66b0f5a to
60a3cba
Compare
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.
This PR contains the following updates:
36.0.0→37.0.036.0.0→37.0.036.0.0→37.0.0Release Notes
insanusmokrassar/TelegramBotAPI (dev.inmo:tgbotapi.webapps)
v37.0.0THIS UPDATE CONTAINS SUPPORT OF TELEGRAM BOTS API 10.3
Breaking changes:
OptionallyEphemeralSendRequestreplaced thereceiverUserId/callbackQueryIdproperties withephemeralMessageParameters: EphemeralMessageParameters?; the 13 ephemeral-capable send-request constructors and the correspondingreplyAPI overloads replaced the two flat parameters with the parameter object, while direct and genericsendAPI extensions retain non-deprecated flat-parameter overloads as an alternative API formChatAdministratorRightsgained the abstractcanSendWelcomeMessagesproperty; implementations maintained in the same compilation module must supply the property, whileChatCommonAdministratorRightsconstruction can use the new trailing defaultFlowsUpdatesFiltergained the abstractmessageGenerationStoppedUpdatesFlowproperty; direct implementations must supply the flow, while subclasses ofAbstractFlowsUpdatesFilterinherit the filtered implementationRichTextgained the publicisValidRichMessageButtonTextcontract and theRichText/RichBlock/InputRichBlocksealed hierarchies gained Bot API 10.3 variants; permitted same-module implementations and exhaustivewhenexpressions must cover the new contracts and variantsSendRichMessageDraft,sendRichMessageDraft, and the corresponding genericsendoverload widenedchatIdfromChatIdtoIdChatIdentifier; source calls passingChatIdremain valid, while the JVM signatures changedRichTextDateTime.dateTimeFormat,DateTimeTextSource.dateTimeFormat,RawMessageEntity.date_time_format, and the related factories and DSL functions now useDateTimeEntityFormattinginstead ofString; raw format strings must be wrapped explicitlyTgDateTimeFormatBuilder.build()andbuildDateTimeFormatnow returnDateTimeEntityFormattinginstead ofString; code requiring the serialized string must readDateTimeEntityFormatting.valueMigration advice: Direct and generic
sendextensions accept eitherreceiverUserId = userId, callbackQueryId = callbackId, replaceCallbackQueryMessage = ...orephemeralMessageParameters = EphemeralMessageParameters(receiverUserId = userId, callbackQueryId = callbackId, replaceCallbackQueryMessage = ...); send-request constructors andreplyAPI overloads require the parameter-object form; addcanSendWelcomeMessagesandmessageGenerationStoppedUpdatesFlowto direct interface implementations; add Bot API 10.3 branches to exhaustive rich-typewhenexpressions; replace relative date-time format strings withDateTimeEntityFormatting.local, build component formats withDateTimeEntityFormatting(useWeek = ..., useDateLong = ..., useTimeLong = ...), and reserve the warning-markedDateTimeEntityFormatting(customValue)constructor for custom or forward-compatible formatsCompatibility note: The new
text/entities/isPrivatefields ofGiftSentOrReceivedEvent.UniqueGift.CommonandGiftSentOrReceivedEvent.UniqueGift.ReceivedInBusinessAccountare trailing constructor parameters; existing positional argument andcomponentNorder is preservedCore:Ephemeral messages) AddedEphemeralMessageParameters; replaced the flat send-request recipient/callback parameters withephemeralMessageParameters, including callback-message replacement supportRich Messages) WidenedSendRichMessageDraft.chatIdfromChatIdtoIdChatIdentifier, allowing contextual numeric identifiers to supply the default message threadGeneral) Added message-thread defaults forSendMessageDraftandSendRichMessageDraft, including conversion from direct-message-thread chat identifiersEphemeral messages) Added new-file uploads foreditEphemeralMessageMedia; collected secondary live-photophotoattachments for ephemeral and regular media edits, media groups, and paid media; addedshowCaptionAboveMediafor caption edits and rich-message text editsEphemeral messages) AddedcanSendWelcomeMessagesadministrator right andpromoteChatMemberparameterRich Messages) Added rich-message button actions, rich-text/button-row entities, typed button styles/alignment, expandable block quotations, compact tables, document blocks, document media links and direct document uploadsRich Messages) Added theRichText.isValidRichMessageButtonTextsubtype contract, moved rich-button markup generation ontoRichMessageButtonimplementations, and corrected expandable-quotation Rich Markdown block HTML to use<blockquote expandable>with HTML-formatted nested text and creditRich Messages) AddedDateTimeEntityFormatting, a typeddate_time_formatvalue with control-key constants,useLocal/useWeek/useDateLong/useTimeLongintrospection, thelocalvalue, a safe canonical-order factory, and typedTgDateTimeFormatBuilderoutputReply markup) AddedDisabledButton/DisabledInlineKeyboardButtonsupport for disabled inline buttonsReply markup) AddedforceReplysupport toInlineKeyboardMarkupandReplyKeyboardMarkupGeneral) AddedcanStop/keepOnStopdraft controls,MessageGenerationStoppedupdates, andCommunityChatJoinedservice messagesGeneral)UniqueGiftInfonow exposestext/textSources/isPrivate; the new fields follow every preexisting public constructor field to preserve positional andcomponentNcompatibilityUtils:Reply markup) Added disabled inline-button shortcuts andforceReplyparameters to inline/reply keyboard buildersGeneral) Added legacy and generated class casts forMessageGenerationStoppedUpdateAPI:Ephemeral messages) Migrated send/reply extension surfaces toephemeralMessageParameters; added rich ephemeral text editing and caption-above-media supportRich Messages) WidenedsendRichMessageDraftand the corresponding genericsendoverload fromChatIdtoIdChatIdentifierGeneral) KeptthreadId/MessageThreadIdacross direct, streaming-flow,Chat, builder, and generic draft-send extensions; direct-message-thread chat identifiers supply converted defaultsEphemeral messages) Retained 172 non-deprecated direct and genericsendoverloads acceptingreceiverUserId/callbackQueryId/replaceCallbackQueryMessageas an alternative API form; every overload delegates to the correspondingephemeralMessageParametersoverloadEphemeral messages) Added named rich-message overloads and genericInputRichMessage/RichMessageContentaliases across both ephemeral reply familiesGeneral) AddedcanStop/keepOnStoptosendMessageDraft/sendRichMessageDraftextension surfaces, including streaming draft flows andsendoverloadsBehaviourBuilder:General) AddedonMessageGenerationStopped/waitMessageGenerationStoppedandonCommunityChatJoined/community joined event expectationsv36.1.0Dependencies:com.gradleup.nmcp.aggregation:com.gradleup.nmcp.aggregation.gradle.pluginfrom1.6.0to1.6.1com.google.devtools.ksp:symbol-processing-apifrom2.3.9to2.3.11io.ktor:ktor-client-corefrom3.5.1to3.5.2dev.inmo:kslogfrom1.6.1to1.7.0dev.inmo:micro_utils.colors.commonfrom0.30.0to0.30.1Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.