Skip to content

Bot API 10.0#336

Open
atipugin wants to merge 1 commit into
masterfrom
bot-api-10
Open

Bot API 10.0#336
atipugin wants to merge 1 commit into
masterfrom
bot-api-10

Conversation

@atipugin
Copy link
Copy Markdown
Owner

Summary

  • Regenerate the parsed API metadata and Ruby endpoint/type definitions for Telegram Bot API 10.0.
  • Add new support for guest mode, live photos, poll media, managed bot access settings, and message reaction deletion endpoints.
  • Restore handwritten helper methods that are overwritten by the rebuild step.
  • Document the new supported API version in CHANGELOG.md.

Testing

  • bundle exec rubocop passed.
  • bundle exec rake spec passed.
  • Performed a runtime smoke check for new endpoint discovery and new type instantiation.

@atipugin
Copy link
Copy Markdown
Owner Author

@copilot compare these changes with https://core.telegram.org/bots/api-changelog#may-8-2026

Copy link
Copy Markdown

Copilot AI commented May 25, 2026

@copilot compare these changes with https://core.telegram.org/bots/api-changelog#may-8-2026

The core.telegram.org domain is blocked from this environment, so I cross-checked against three independent Bot API 10.0 community implementations (CiBeRHeMuL/TelegramBot PHP, Eptagone/Telegram.BotAPI C#, bochkov/resnyx Java) to reconstruct the full changelog. Here is the comparison:


✅ New Methods — all 7 present

Method Implemented
answerGuestQuery
sendLivePhoto
deleteMessageReaction
deleteAllMessageReactions
getManagedBotAccessSettings
setManagedBotAccessSettings
getUserPersonalChatMessages

✅ New Types — all 11 present

Type Implemented
LivePhoto
BotAccessSettings
ManagedBotUpdated
SentGuestMessage
PaidMediaLivePhoto
PollMedia
InputMediaLivePhoto
InputMediaLocation
InputMediaSticker
InputMediaVenue
InputPaidMediaLivePhoto

✅ Modified Types — all new fields present

Type New Fields Implemented
Update guest_message, managed_bot
User can_manage_bots, supports_guest_queries
Message live_photo, guest_query_id, guest_bot_caller_chat
Poll allows_revoting, members_only, country_codes, description, description_entities, explanation_media, media
PollOption media
InputPollOption media
ChatPermissions can_edit_tag, can_react_to_messages
ChatMemberRestricted can_edit_tag, can_react_to_messages, tag
ExternalReplyInfo live_photo

Notes

  • Message also has guest_bot_caller_user (a User counterpart to guest_bot_caller_chat), which the community implementations confirm is the user in the originating private chat context.
  • InputPollOptionMedia and InputPollMedia union types are present as Ruby type aliases.
  • No deprecations were found in Bot API 10.0.

The implementation appears to be complete and accurate against the Bot API 10.0 release.

Repository owner deleted a comment from Copilot AI May 25, 2026
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.

2 participants