Update dependency dev.inmo:tgbotapi to v35#181
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
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:
34.0.0→35.1.0Release Notes
insanusmokrassar/TelegramBotAPI (dev.inmo:tgbotapi)
v35.1.0Dependencies:Kotlin:2.3.20->2.3.21Coroutines:1.10.2->1.11.0Ktor:3.4.2->3.5.1KSP:2.3.6->2.3.9MicroUtils:0.29.2->0.30.0Dokka:2.0.0->2.2.0Versions:0.53.0->0.54.0NMCP:1.4.4->1.6.0Build:8.13->9.6.1and migrated build scripts to be Gradle 9 compatible (Project.exec->providers.exec,tasks.whenTaskAdded->tasks.configureEach)docsmodule is now included in the build as the KDocs aggregator (./gradlew :docs:dokkaGenerate) and thePublish KDocsworkflow was updated accordinglyv35.0.0THIS UPDATE CONTAINS SUPPORT OF TELEGRAM BOTS API 10.1
Breaking changes:
EditTextChatMessage.textchanged fromStringtoString?(rich edits carry no text) — implementations overriding it must widen the type and readers must handlenullEditChatMessageText.textchanged fromStringtoString?; itstextSourcesis nownullwhen there is no text — code readingtextas non-null must handlenullExtendedBotgained thesupportsJoinRequestQueriesfield inserted betweensupportsGuestQueriesandcanConnectToBusiness— positional constructor calls andcomponentNdestructuring shift and must be updatedMigration advice: Handle nullable
textonEditTextChatMessage/EditChatMessageText; constructExtendedBotwith named argumentsCore:Rich Messages) AddedRichText(RichTextPlain,RichTextGroup,RichTextEntity) hierarchy with all 25RichText*entity types and a recursive serializer supporting plain strings, arrays and typed objects; everyRichTextexposesrawText,markdownandhtmlrenderingsRich Messages) AddedRichBlockhierarchy with all 21RichBlock*types plusRichBlockCaption,RichBlockTableCellandRichBlockListItem; everyRichBlockexposesmarkdown/htmlsource, theRichBlockMediamarker interface andsubBlocks/searchnavigation helpersRich Messages) AddedRichTextInfotype (withmarkdown/htmlsource built from its blocks) andRichMessageContentmessage content;RichMessageContent.createResendre-sends the content (forwarded when it contains media blocks, otherwise re-built throughSendRichMessage); parsedrich_messageinRawMessage; addedRichMessageContentMessagetypealiasRich Messages) AddedInputRichMessage(internal constructor withInputRichMessageHTML/InputRichMessageMarkdownfactories) andInputRichMessageContentusable asInputMessageContentRich Messages) Added Rich Messages DSL buildersbuildRichText/RichTextBuilder,buildRichBlocks/RichBlocksBuilder,buildRichTextInfoandRichBlockListBuilder(marked with the@RichTextDslDSL marker)Rich Messages) Added Rich Markdown/HTML source helpersString.escapeRichMarkdown()andList<RichBlock>.toRichMarkdown()/toRichHtml()Rich Messages) AddedSendRichMessageandSendRichMessageDraftrequestsRich Messages) AddedrichMessageparameter toEditChatMessageText; itstextis now nullable (per API) and theEditChatMessageRichTextfactory builds a rich edit; widenedEditTextChatMessage.textto nullablePolls) AddedLinktype (dev.inmo.tgbotapi.types.Link) implementingPollMedia, carrying theurlof a link attached to a poll optionPolls) Addedlinkfield parsing toPollMediadeserialization/serializationPolls) AddedTelegramMediaLink(InputMediaLink) implementingInputPollOptionMedia, usable as a poll option mediaJoin Request Queries) AddedChatJoinRequestQueryIdvalue class andqueryIdfield toChatJoinRequestJoin Request Queries) AddedsupportsJoinRequestQueriesflag toExtendedBot(User.supports_join_request_queries)Join Request Queries) AddedguardBotfield toExtendedChat(ChatFullInfo.guard_bot), parsed for public chatsJoin Request Queries) AddedAnswerChatJoinRequestQueryrequest andChatJoinRequestQueryResultsealed interface (Approve/Decline/Queue/Unknown) serialized as a plain stringJoin Request Queries) AddedSendChatJoinRequestWebApprequestAPI:Rich Messages) AddedsendRichMessageandsendRichMessageDraftTelegramBotextensionsJoin Request Queries) AddedanswerChatJoinRequestQueryandsendChatJoinRequestWebAppTelegramBotextensionsBehaviourBuilder:Rich Messages) AddedonRichMessagetrigger andwaitRichMessage/waitRichMessageMessageexpectationsUtils:Rich Messages) AddedFlow<ContentMessage<*>>.onlyRichMessageContentMessages()Join Request Queries) AddedChatJoinRequest.query_idraw accessorConfiguration
📅 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.