Skip to content

chore(deps): bump github.com/go-telegram/bot from 1.22.0 to 1.23.0 - #48

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/go-telegram/bot-1.23.0
Aug 7, 2026
Merged

chore(deps): bump github.com/go-telegram/bot from 1.22.0 to 1.23.0#48
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/go-telegram/bot-1.23.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 7, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/go-telegram/bot from 1.22.0 to 1.23.0.

Release notes

Sourced from github.com/go-telegram/bot's releases.

v1.23.0

  • Support Bot API 10.2 (July 14, 2026 update):
    • Rich Messages: new InputRichMessageMedia, InputMediaVoiceNote, the 21 InputRichBlock* block types (via the InputRichBlock tagged union) and InputRichBlockListItem; added blocks and media fields to InputRichMessage.
    • Ephemeral Messages: new methods editEphemeralMessageText, editEphemeralMessageMedia, editEphemeralMessageCaption, editEphemeralMessageReplyMarkup, deleteEphemeralMessage; added receiver_user_id and callback_query_id params to the 13 send methods; is_ephemeral on BotCommand; receiver_user and ephemeral_message_id on Message; ephemeral_message_id on ReplyParameters (and message_id made optional).
    • Communities: new Community, CommunityChatAdded, CommunityChatRemoved; community_chat_added / community_chat_removed on Message; community on ChatFullInfo.
    • General: new BotSubscriptionUpdated with the subscription field on Update (and subscription allowed-update constant).
  • Fix: InputMedia values now implement json.Marshaler, so the required type discriminator is kept when they are encoded through a plain json.Marshal (e.g. nested inside a rich message). Previously type was only emitted by MarshalInputMedia, which nested values never reached.
  • Fix: MarshalJSON on the InputRichBlock, RichBlock and RichText tagged unions returns an error instead of panicking when Type is set without its matching variant pointer, and reports an unknown Type as unsupported rather than as a missing variant.
  • Fix: marshaling those unions no longer writes the discriminator back into the caller's variant. The type field is stamped on a copy, so encoding has no side effects and the same value can be encoded from several goroutines.
  • Fix: EditMessageCaptionParams.ShowCaptionAboveMedia was sent under the field name k instead of show_caption_above_media, so it never took effect.
Changelog

Sourced from github.com/go-telegram/bot's changelog.

v1.23.0 (2026-08-03)

  • Support Bot API 10.2 (July 14, 2026 update):
    • Rich Messages: new InputRichMessageMedia, InputMediaVoiceNote, the 21 InputRichBlock* block types (via the InputRichBlock tagged union) and InputRichBlockListItem; added blocks and media fields to InputRichMessage.
    • Ephemeral Messages: new methods editEphemeralMessageText, editEphemeralMessageMedia, editEphemeralMessageCaption, editEphemeralMessageReplyMarkup, deleteEphemeralMessage; added receiver_user_id and callback_query_id params to the 13 send methods; is_ephemeral on BotCommand; receiver_user and ephemeral_message_id on Message; ephemeral_message_id on ReplyParameters (and message_id made optional).
    • Communities: new Community, CommunityChatAdded, CommunityChatRemoved; community_chat_added / community_chat_removed on Message; community on ChatFullInfo.
    • General: new BotSubscriptionUpdated with the subscription field on Update (and subscription allowed-update constant).
  • Fix: InputMedia values now implement json.Marshaler, so the required type discriminator is kept when they are encoded through a plain json.Marshal (e.g. nested inside a rich message). Previously type was only emitted by MarshalInputMedia, which nested values never reached.
  • Fix: MarshalJSON on the InputRichBlock, RichBlock and RichText tagged unions returns an error instead of panicking when Type is set without its matching variant pointer, and reports an unknown Type as unsupported rather than as a missing variant.
  • Fix: marshaling those unions no longer writes the discriminator back into the caller's variant. The type field is stamped on a copy, so encoding has no side effects and the same value can be encoded from several goroutines.
  • Fix: EditMessageCaptionParams.ShowCaptionAboveMedia was sent under the field name k instead of show_caption_above_media, so it never took effect.
Commits
  • d7672bb fix: make tagged-union marshaling side-effect free, fix show_caption_above_media
  • d47ba91 feat: support Bot API 10.2 (Ephemeral Messages, rich blocks, Communities) (#288)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/go-telegram/bot](https://github.com/go-telegram/bot) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/go-telegram/bot/releases)
- [Changelog](https://github.com/go-telegram/bot/blob/main/CHANGELOG.md)
- [Commits](go-telegram/bot@v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: github.com/go-telegram/bot
  dependency-version: 1.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Aug 7, 2026
@github-actions
github-actions Bot merged commit 87f7c9e into main Aug 7, 2026
6 checks passed
@github-actions
github-actions Bot deleted the dependabot/go_modules/github.com/go-telegram/bot-1.23.0 branch August 7, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants