Added full support of Bot API 7.6 (#1533)

* Added full support of Bot API 7.6

* Fixed imports

* fix tests (#1534)

* Fixed coverage

* Override InputPaidMedia media type to `str | InputFile`

* Added shortcut

* Fixed PaidMediaType enum

* Added changelog

---------

Co-authored-by: Oleg A <t0rr@mail.ru>
This commit is contained in:
Alex Root Junior 2024-07-06 20:31:49 +03:00 committed by GitHub
parent 3baa7383c1
commit 11efa8e186
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
97 changed files with 2058 additions and 274 deletions

View file

@ -21,11 +21,13 @@ Here is list of all available enums:
encrypted_passport_element
inline_query_result_type
input_media_type
input_paid_media_type
keyboard_button_poll_type_type
mask_position_point
menu_button_type
message_entity_type
message_origin_type
paid_media_type
parse_mode
passport_element_error_type
poll_type

View file

@ -0,0 +1,9 @@
##################
InputPaidMediaType
##################
.. automodule:: aiogram.enums.input_paid_media_type
:members:
:member-order: bysource
:undoc-members: True

View file

@ -0,0 +1,9 @@
#############
PaidMediaType
#############
.. automodule:: aiogram.enums.paid_media_type
:members:
:member-order: bysource
:undoc-members: True