Skip to content

Bot API 9.6#84

Open
telepath-companion[bot] wants to merge 1 commit intomainfrom
api-9.6
Open

Bot API 9.6#84
telepath-companion[bot] wants to merge 1 commit intomainfrom
api-9.6

Conversation

@telepath-companion
Copy link
Copy Markdown

Bot API 9.6
Managed Bots

  • Added the field can_manage_bots to the class User .
  • Added the class KeyboardButtonRequestManagedBot and the field request_managed_bot to the class KeyboardButton .
  • Added the class ManagedBotCreated and the field managed_bot_created to the class Message .
  • Added updates about the creation of managed bots and the change of their token, represented by the class ManagedBotUpdated and the field managed_bot in the class Update .
  • Added the methods getManagedBotToken and replaceManagedBotToken .
  • Added the class PreparedKeyboardButton and the method savePreparedKeyboardButton , allowing bots to request users, chats and managed bots from Mini Apps.
  • Added the method requestChat to the class WebApp .
  • Added support for https://t.me/newbot/{manager_bot_username}/{suggested_bot_username}[?name={suggested_bot_name}] links, allowing bots to request the creation of a managed bot via a link.
    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 .

@telepath-companion telepath-companion bot added auto-generated Reflects auto-generated code changes bot api Telegram Bot API related WTD Enable What The Diff comments labels Apr 3, 2026
@telepath-companion telepath-companion bot requested a review from TiiFuchs April 3, 2026 15:57
@telepath-companion telepath-companion bot added the WTD Enable What The Diff comments label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-generated Reflects auto-generated code changes bot api Telegram Bot API related WTD Enable What The Diff comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant