Added full support for the Bot API 9.6 (#1792)

* Added full support for the Bot API 9.6

* Add support for `managed_bot` updates

* Set `description_parse_mode` default to `"parse_mode"` and use `DateTime` for `addition_date` in `PollOption`

* Update changelog with features and changes from Bot API 9.6

* Add changelog fragment generator and update poll parameter descriptions
This commit is contained in:
Alex Root Junior 2026-04-04 01:22:08 +03:00 committed by GitHub
parent 00c1130938
commit 9f49c0413f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
107 changed files with 3077 additions and 328 deletions

View file

@ -125,12 +125,15 @@ Available types
keyboard_button
keyboard_button_poll_type
keyboard_button_request_chat
keyboard_button_request_managed_bot
keyboard_button_request_user
keyboard_button_request_users
link_preview_options
location
location_address
login_url
managed_bot_created
managed_bot_updated
maybe_inaccessible_message
menu_button
menu_button_commands
@ -161,6 +164,10 @@ Available types
poll
poll_answer
poll_option
poll_option_added
poll_option_deleted
prepared_inline_message
prepared_keyboard_button
proximity_alert_triggered
reaction_count
reaction_type
@ -171,6 +178,7 @@ Available types
reply_keyboard_remove
reply_parameters
response_parameters
sent_web_app_message
shared_user
star_amount
story
@ -255,8 +263,6 @@ Inline mode
input_message_content
input_text_message_content
input_venue_message_content
prepared_inline_message
sent_web_app_message
Payments
========

View file

@ -0,0 +1,10 @@
###############################
KeyboardButtonRequestManagedBot
###############################
.. automodule:: aiogram.types.keyboard_button_request_managed_bot
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields

View file

@ -0,0 +1,10 @@
#################
ManagedBotCreated
#################
.. automodule:: aiogram.types.managed_bot_created
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields

View file

@ -0,0 +1,10 @@
#################
ManagedBotUpdated
#################
.. automodule:: aiogram.types.managed_bot_updated
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields

View file

@ -0,0 +1,10 @@
###############
PollOptionAdded
###############
.. automodule:: aiogram.types.poll_option_added
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields

View file

@ -0,0 +1,10 @@
#################
PollOptionDeleted
#################
.. automodule:: aiogram.types.poll_option_deleted
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields

View file

@ -0,0 +1,10 @@
######################
PreparedKeyboardButton
######################
.. automodule:: aiogram.types.prepared_keyboard_button
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields