mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 11:25:54 +00:00
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:
parent
3baa7383c1
commit
11efa8e186
97 changed files with 2058 additions and 274 deletions
|
|
@ -95,6 +95,9 @@ Available types
|
|||
input_media_document
|
||||
input_media_photo
|
||||
input_media_video
|
||||
input_paid_media
|
||||
input_paid_media_photo
|
||||
input_paid_media_video
|
||||
input_poll_option
|
||||
keyboard_button
|
||||
keyboard_button_poll_type
|
||||
|
|
@ -120,6 +123,11 @@ Available types
|
|||
message_origin_user
|
||||
message_reaction_count_updated
|
||||
message_reaction_updated
|
||||
paid_media
|
||||
paid_media_info
|
||||
paid_media_photo
|
||||
paid_media_preview
|
||||
paid_media_video
|
||||
photo_size
|
||||
poll
|
||||
poll_answer
|
||||
|
|
@ -247,6 +255,7 @@ Payments
|
|||
transaction_partner
|
||||
transaction_partner_fragment
|
||||
transaction_partner_other
|
||||
transaction_partner_telegram_ads
|
||||
transaction_partner_user
|
||||
|
||||
Getting updates
|
||||
|
|
|
|||
10
docs/api/types/input_paid_media.rst
Normal file
10
docs/api/types/input_paid_media.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
##############
|
||||
InputPaidMedia
|
||||
##############
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.input_paid_media
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/input_paid_media_photo.rst
Normal file
10
docs/api/types/input_paid_media_photo.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
###################
|
||||
InputPaidMediaPhoto
|
||||
###################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.input_paid_media_photo
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/input_paid_media_video.rst
Normal file
10
docs/api/types/input_paid_media_video.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
###################
|
||||
InputPaidMediaVideo
|
||||
###################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.input_paid_media_video
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/paid_media.rst
Normal file
10
docs/api/types/paid_media.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#########
|
||||
PaidMedia
|
||||
#########
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.paid_media
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/paid_media_info.rst
Normal file
10
docs/api/types/paid_media_info.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#############
|
||||
PaidMediaInfo
|
||||
#############
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.paid_media_info
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/paid_media_photo.rst
Normal file
10
docs/api/types/paid_media_photo.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
##############
|
||||
PaidMediaPhoto
|
||||
##############
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.paid_media_photo
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/paid_media_preview.rst
Normal file
10
docs/api/types/paid_media_preview.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
################
|
||||
PaidMediaPreview
|
||||
################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.paid_media_preview
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/paid_media_video.rst
Normal file
10
docs/api/types/paid_media_video.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
##############
|
||||
PaidMediaVideo
|
||||
##############
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.paid_media_video
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/transaction_partner_telegram_ads.rst
Normal file
10
docs/api/types/transaction_partner_telegram_ads.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#############################
|
||||
TransactionPartnerTelegramAds
|
||||
#############################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.transaction_partner_telegram_ads
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
Loading…
Add table
Add a link
Reference in a new issue