Skip to content

feat: support Telegram Bot API 10.0 (May 8, 2026) #280

@Zoomish

Description

@Zoomish

Summary

Track implementation of Telegram Bot API 10.0 (May 8, 2026) in go-telegram/bot: models, methods_params.go, methods.go, multipart/build_request_form for new media/input types, tests, README and CHANGELOG.

Depends on project policy: may target main after 9.6 is merged or a single combined branch — align with maintainers.

References

Scope (high level)

Guest mode

  • Fields on User, Message, Update; new types such as SentGuestMessage; method answerGuestQuery.

Chat management

  • e.g. can_react_to_messages on ChatMemberRestricted / ChatPermissions; return_bots on getChatAdministrators; methods deleteAllMessageReactions, deleteMessageReaction; visibility of some messages from other bots in groups (per docs).

Polls (additional to 9.6)

  • Types such as InputMediaSticker / InputMediaLocation / InputMediaVenue, PollMedia, media on Poll / PollOption, InputPollMedia, InputPollOptionMedia, members_only, country_codes, minimum poll options count change.

Live photos

  • LivePhoto, InputMediaLivePhoto, fields on Message / ExternalReplyInfo, sendLivePhoto, paid variants, use in sendMediaGroup / editMessageMedia per API.

General

  • Business / bot-to-bot messaging notes from changelog; sendMessageDraft empty text; BotAccessSettings; getManagedBotAccessSettings, setManagedBotAccessSettings, getUserPersonalChatMessages.

Acceptance criteria

  • All new/changed items from the 10.0 changelog are covered following existing library conventions.
  • go test ./... passes; README and CHANGELOG updated for Bot API 10.0.
  • New multipart/input types covered by tests where non-trivial (similar to prior profile/media fixes).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions