Add support for Telegram Bot API 9.1 (#1704)

* Add support for Telegram Bot API 9.1 features, including checklists, gifts, and new methods like `SendChecklist`, `EditMessageChecklist`, and `GetMyStarBalance`. Update changelog and improve `True` field descriptions.

* Bump API Version

* Refactor profile photo types to use `InputProfilePhotoType` enums instead of hardcoded literals

* Refactor imports and clean up redundant code across methods, types, and webhook server classes
This commit is contained in:
Alex Root Junior 2025-07-05 03:02:44 +03:00 committed by GitHub
parent 77ca49518e
commit f060c08d16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
117 changed files with 2565 additions and 466 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -70,9 +70,14 @@ Available types
chat_permissions
chat_photo
chat_shared
checklist
checklist_task
checklist_tasks_added
checklist_tasks_done
contact
copy_text_button
dice
direct_message_price_changed
document
external_reply_info
file
@ -94,6 +99,8 @@ Available types
inaccessible_message
inline_keyboard_button
inline_keyboard_markup
input_checklist
input_checklist_task
input_file
input_media
input_media_animation

View file

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

View file

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