Skip to content

Update telegram_bot_api_version to v33 (major)#344

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-telegram_bot_api_version
Open

Update telegram_bot_api_version to v33 (major)#344
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-telegram_bot_api_version

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Aug 10, 2025

This PR contains the following updates:

Package Change Age Confidence
dev.inmo:tgbotapi.webapps (source) 31.2.033.0.0 age confidence
dev.inmo:tgbotapi.core (source) 31.2.033.0.0 age confidence
dev.inmo:tgbotapi (source) 31.2.033.0.0 age confidence

Release Notes

insanusmokrassar/TelegramBotAPI (dev.inmo:tgbotapi.webapps)

v33.0.0

THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.6

THIS UPDATE CONTAINS BREAKING CHANGES

  • Core:
    • THIS IS BREAKING CHANGE MultipleAnswersPoll removed; RegularPoll now directly implements Poll
    • THIS IS BREAKING CHANGE allowMultipleAnswers renamed to allowsMultipleAnswers across poll types and requests
    • THIS IS BREAKING CHANGE QuizPoll.correctOptionId: Int? changed to correctOptionIds: List<Int>?
    • THIS IS BREAKING CHANGE PollOption is now a sealed interface with PollOption.Simple and PollOption.LatelyAdded subtypes; SimplePollOption removed
    • THIS IS BREAKING CHANGE PollAnswer.Anonymous.voterChat type changed from ChannelChat to PreviewPublicChat
    • THIS IS BREAKING CHANGE requestChannelReplyButton (group variant) renamed to requestGroupReplyButton
    • Added BotToken value class
    • Added SavePreparedKeyboardButton request with PreparedKeyboardButton and PreparedKeyboardButtonId types
    • Added GetManagedBotToken and ReplaceManagedBotToken requests
    • Added KeyboardButtonRequestManagedBot and RequestManagedBotKeyboardButton
    • Added ManagedBotCreated chat event and ManagedBotUpdated type with ManagedBotUpdate
    • Added PollOptionPersistentId value class
    • Added PollOptionAdded and PollOptionDeleted chat events
    • Added pollOptionId support in ReplyParameters (reply_to_poll_option_id)
    • Added canManageBots to ExtendedBot
    • Added allowsRevoting, shuffleOptions, allowAddingOptions, hideResultsUntilCloses, description/descriptionTextSources to poll types and send requests
    • Added chosenPersistentIds to PollAnswer
    • Added UsernameAtLessSerializer
    • Extended openPeriodPollSecondsLimit from 5..600 to 5..2628000
    • Fixed quiz poll serialization type (was incorrectly using regularPollType in quiz branch)
    • Fixed quiz poll explanation serialization (now correctly uses explanation/explanationTextSources)
    • Fixed SendQuizPoll correct option index range validation (off-by-one)
    • Several poll validation checks changed from throwing exceptions to logging warnings
  • API:
    • Added savePreparedKeyboardButton extensions
    • Added getManagedBotToken and replaceManagedBotToken extensions
    • Added optional pollOptionId parameter to reply/replyWith* extensions
    • Updated sendQuizPoll extensions with correctOptionIds, allowsMultipleAnswers, allowsRevoting, shuffleOptions, hideResultsUntilCloses, description parameters
    • Updated sendRegularPoll extensions with allowsRevoting, shuffleOptions, allowAddingOptions, hideResultsUntilCloses, description parameters
  • BehaviourBuilder:
    • Added onManagedBotCreated and onManagedBotUpdated triggers
    • Added onPollOptionAdded and onPollOptionDeleted triggers
    • Added waitManagedBotCreatedEvents and waitManagedBotUpdated expectations
    • Added waitPollOptionAddedEvents and waitPollOptionDeletedEvents expectations
    • Added ManagedBotUpdatedFilterByUser and ByUserManagedBotUpdatedMarkerFactory
  • Utils:
    • Added managedBotCreationLink formatting extensions
    • Added requestManagedBotButton to ReplyKeyboardBuilder
    • Added class casts for ManagedBotUpdate, ManagedBotCreated, PollOptionAdded, PollOptionDeleted
    • Removed MultipleAnswersPoll class casts
    • Updated raw poll accessors to match new model (allowsMultipleAnswers, correctOptionIds, explanation)
    • Regenerated class casts extensions
  • WebApps:
    • Added requestChat support for PreparedKeyboardButtonId
    • Fixed iconCustomEmojiId passing in BottomButton

v32.0.0

THIS UPDATE CONTAINS BREAKING CHANGES

  • Version:
    • Kotlin: 2.2.21 -> 2.3.10
    • Kotlin Serialization: 1.9.0 -> 1.10.0
    • Ktor: 3.3.2 -> 3.4.1
    • KSP: 2.3.2 -> 2.3.6
    • MicroUtils: 0.26.9 -> 0.29.1
    • KSLog: 1.5.2 -> 1.6.0
  • Core + API:
    • BREAKING CHANGES: ALL METHODS THAT PREVIOUSLY RETURNED BOOLEAN NOW RETURNS UNIT
  • Core:
    • BREAKING CHANGE SetChatTitle init do not throw error in case when title.length is outside of chatTitleLength
    • BREAKING CHANGE SetStickerEmojiList init do not throw error in case when emojis.size is outside of emojisInStickerLimit
    • BREAKING CHANGE DeleteMessages init do not throw error in case when title is messageIds.size of deleteMessagesLimit
    • BREAKING CHANGE ForwardMessages init do not throw error in case when messageIds.size is outside of forwardMessagesLimit
    • BREAKING CHANGE CopyMessages init do not throw error in case when messageIds.size is outside of copyMessagesLimit
    • BREAKING CHANGE SwitchInlineQueryChosenChat init do not throw error in case when messageIds.size is outside of copyMessagesLimit
    • BREAKING CHANGE SetStickerKeywords init do not throw error in case when there are errors in keywords

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update telegram_bot_api_version to v28 (major) Update telegram_bot_api_version to v28 (major) - autoclosed Aug 10, 2025
@renovate renovate bot closed this Aug 10, 2025
@renovate renovate bot deleted the renovate/major-telegram_bot_api_version branch August 10, 2025 19:09
@renovate renovate bot changed the title Update telegram_bot_api_version to v28 (major) - autoclosed Update telegram_bot_api_version to v28 (major) Aug 11, 2025
@renovate renovate bot reopened this Aug 11, 2025
@renovate renovate bot force-pushed the renovate/major-telegram_bot_api_version branch from 626e954 to 6b61eb3 Compare August 11, 2025 09:22
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Aug 23, 2025

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

@renovate renovate bot changed the title Update telegram_bot_api_version to v28 (major) Update telegram_bot_api_version to v28 (major) - abandoned Aug 23, 2025
@renovate renovate bot force-pushed the renovate/major-telegram_bot_api_version branch from 6b61eb3 to a13711f Compare March 8, 2026 14:28
@renovate renovate bot changed the title Update telegram_bot_api_version to v28 (major) - abandoned Update telegram_bot_api_version to v32 (major) Mar 8, 2026
@renovate renovate bot force-pushed the renovate/major-telegram_bot_api_version branch from a13711f to d8a3365 Compare April 5, 2026 20:57
@renovate renovate bot changed the title Update telegram_bot_api_version to v32 (major) Update telegram_bot_api_version to v33 (major) Apr 5, 2026
@renovate renovate bot force-pushed the renovate/major-telegram_bot_api_version branch 5 times, most recently from 4c84210 to ee4ca41 Compare April 13, 2026 10:03
@renovate renovate bot force-pushed the renovate/major-telegram_bot_api_version branch 5 times, most recently from 4c39842 to a0ceb53 Compare April 16, 2026 08:32
@renovate renovate bot force-pushed the renovate/major-telegram_bot_api_version branch from a0ceb53 to 16526d3 Compare April 16, 2026 17:12
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.

0 participants