Skip to content

Bot API 9.6#2581

Open
coder2020official wants to merge 19 commits intoeternnoir:masterfrom
coder2020official:master
Open

Bot API 9.6#2581
coder2020official wants to merge 19 commits intoeternnoir:masterfrom
coder2020official:master

Conversation

@coder2020official
Copy link
Copy Markdown
Collaborator

@coder2020official coder2020official commented Apr 4, 2026

Bot API 9.6

Managed Bots

Polls

  • Added support for quizzes with multiple correct answers.
  • Replaced the field correct_option_id with the field correct_option_ids in the class Poll.
  • Replaced the parameter correct_option_id with the parameter correct_option_ids in the method sendPoll.
  • Allowed to pass allows_multiple_answers for quizzes in the method sendPoll.
  • Increased the maximum time for automatic poll closure to 2628000 seconds.
  • Added the field allows_revoting to the class Poll.
  • Added the parameter allows_revoting to the method sendPoll.
  • Added the parameter shuffle_options to the method sendPoll.
  • Added the parameter allow_adding_options to the method sendPoll.
  • Added the parameter hide_results_until_closes to the method sendPoll.
  • Added the fields description and description_entities to the class Poll.
  • Added the parameters description, description_parse_mode, and description_entities to the method sendPoll.
  • Added the field persistent_id to the class PollOption, representing a persistent identifier for the option.
  • Added the field option_persistent_ids to the class PollAnswer.
  • Added the fields added_by_user and added_by_chat to the class PollOption, denoting the user and the chat which added the option.
  • Added the field addition_date to the class PollOption, describing the date when the option was added.
  • Added the class PollOptionAdded and the field poll_option_added to the class Message.
  • Added the class PollOptionDeleted and the field poll_option_deleted to the class Message.
  • Added the field poll_option_id to the class ReplyParameters, allowing bots to reply to a specific poll option.
  • Added the field reply_to_poll_option_id to the class Message.
  • Allowed “date_time” entities in checklist title, checklist task text, TextQuote, ReplyParameters quote, sendGift, and giftPremiumSubscription.

…yboardButtonRequestManagedBot and the field request_managed_bot to the class KeyboardButton.
…eir token, represented by the class ManagedBotUpdated and the field managed_bot in the class Update.
…boardButton, allowing bots to request users, chats and managed bots from Mini Apps.
…e class Message. Added the class PollOptionDeleted and the field poll_option_deleted to the class Message.
… TextQuote, ReplyParameters quote, sendGift, and giftPremiumSubscription.
@coder2020official coder2020official marked this pull request as ready for review April 5, 2026 09:02
@coder2020official
Copy link
Copy Markdown
Collaborator Author

@Badiboy I'm done, you can revidw

Please acknowledge that you received this message

@Badiboy
Copy link
Copy Markdown
Collaborator

Badiboy commented Apr 5, 2026

@coder2020official I do )
I'll review right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants