Summary
Track implementation of Telegram Bot API 9.6 (April 3, 2026) in go-telegram/bot: models, methods_params.go, methods.go, multipart/build_request_form where needed, tests, README and CHANGELOG.
References
Scope (high level)
Managed bots
- New / updated types and fields: e.g.
can_manage_bots on User, KeyboardButtonRequestManagedBot, PreparedKeyboardButton, ManagedBotCreated, ManagedBotUpdated, updates on Message / Update.
- New methods:
getManagedBotToken, replaceManagedBotToken, savePreparedKeyboardButton.
- Web App:
WebApp.requestChat, deep link https://t.me/newbot/... support surface in docs/examples if applicable.
Polls (expect breaking API alignment)
- Replace
correct_option_id with correct_option_ids in Poll and sendPoll params; quiz multiple correct answers; new flags/parameters (allows_revoting, shuffle_options, allow_adding_options, hide_results_until_closes, descriptions, PollOption additions, PollOptionAdded / PollOptionDeleted, ReplyParameters.poll_option_id, Message.reply_to_poll_option_id, etc.).
- Increased max poll close time; document behavior changes.
Other
- Broader use of
date_time entities where noted in the official changelog (checklist, quotes, gifts, etc.).
Acceptance criteria
Notes
Summary
Track implementation of Telegram Bot API 9.6 (April 3, 2026) in
go-telegram/bot: models,methods_params.go,methods.go, multipart/build_request_formwhere needed, tests, README and CHANGELOG.References
Scope (high level)
Managed bots
can_manage_botsonUser,KeyboardButtonRequestManagedBot,PreparedKeyboardButton,ManagedBotCreated,ManagedBotUpdated, updates onMessage/Update.getManagedBotToken,replaceManagedBotToken,savePreparedKeyboardButton.WebApp.requestChat, deep linkhttps://t.me/newbot/...support surface in docs/examples if applicable.Polls (expect breaking API alignment)
correct_option_idwithcorrect_option_idsinPollandsendPollparams; quiz multiple correct answers; new flags/parameters (allows_revoting,shuffle_options,allow_adding_options,hide_results_until_closes, descriptions,PollOptionadditions,PollOptionAdded/PollOptionDeleted,ReplyParameters.poll_option_id,Message.reply_to_poll_option_id, etc.).Other
date_timeentities where noted in the official changelog (checklist, quotes, gifts, etc.).Acceptance criteria
go test ./...passes; README states supported Bot API version after 9.6.correct_option_ids).Notes
int→int64in params — issueSendChecklistParams.ChatIDand some other paramschat idfield has wrong typeintinstead ofint64#273) to avoid duplicate or conflicting PRs.