mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 11:25:54 +00:00
Added full support of Bot API 7.5 (#1518)
* Added full support of Bot API 7.5 * Added changelog * Update date type in RevenueWithdrawalStateSucceeded * Added example
This commit is contained in:
parent
dcfc9632f3
commit
1f7bbeb355
72 changed files with 1629 additions and 51 deletions
|
|
@ -30,7 +30,9 @@ Here is list of all available enums:
|
|||
passport_element_error_type
|
||||
poll_type
|
||||
reaction_type_type
|
||||
revenue_withdrawal_state_type
|
||||
sticker_format
|
||||
sticker_type
|
||||
topic_icon_color
|
||||
transaction_partner_type
|
||||
update_type
|
||||
|
|
|
|||
9
docs/api/enums/revenue_withdrawal_state_type.rst
Normal file
9
docs/api/enums/revenue_withdrawal_state_type.rst
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
##########################
|
||||
RevenueWithdrawalStateType
|
||||
##########################
|
||||
|
||||
|
||||
.. automodule:: aiogram.enums.revenue_withdrawal_state_type
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
9
docs/api/enums/transaction_partner_type.rst
Normal file
9
docs/api/enums/transaction_partner_type.rst
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
######################
|
||||
TransactionPartnerType
|
||||
######################
|
||||
|
||||
|
||||
.. automodule:: aiogram.enums.transaction_partner_type
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
38
docs/api/methods/get_star_transactions.rst
Normal file
38
docs/api/methods/get_star_transactions.rst
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
###################
|
||||
getStarTransactions
|
||||
###################
|
||||
|
||||
Returns: :obj:`StarTransactions`
|
||||
|
||||
.. automodule:: aiogram.methods.get_star_transactions
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: StarTransactions = await bot.get_star_transactions(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.get_star_transactions import GetStarTransactions`
|
||||
- alias: :code:`from aiogram.methods import GetStarTransactions`
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: StarTransactions = await bot(GetStarTransactions(...))
|
||||
|
|
@ -161,6 +161,7 @@ Payments
|
|||
answer_pre_checkout_query
|
||||
answer_shipping_query
|
||||
create_invoice_link
|
||||
get_star_transactions
|
||||
refund_star_payment
|
||||
send_invoice
|
||||
|
||||
|
|
|
|||
|
|
@ -234,10 +234,20 @@ Payments
|
|||
labeled_price
|
||||
order_info
|
||||
pre_checkout_query
|
||||
revenue_withdrawal_state
|
||||
revenue_withdrawal_state_failed
|
||||
revenue_withdrawal_state_pending
|
||||
revenue_withdrawal_state_succeeded
|
||||
shipping_address
|
||||
shipping_option
|
||||
shipping_query
|
||||
star_transaction
|
||||
star_transactions
|
||||
successful_payment
|
||||
transaction_partner
|
||||
transaction_partner_fragment
|
||||
transaction_partner_other
|
||||
transaction_partner_user
|
||||
|
||||
Getting updates
|
||||
===============
|
||||
|
|
|
|||
10
docs/api/types/revenue_withdrawal_state.rst
Normal file
10
docs/api/types/revenue_withdrawal_state.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
######################
|
||||
RevenueWithdrawalState
|
||||
######################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.revenue_withdrawal_state
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/revenue_withdrawal_state_failed.rst
Normal file
10
docs/api/types/revenue_withdrawal_state_failed.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
############################
|
||||
RevenueWithdrawalStateFailed
|
||||
############################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.revenue_withdrawal_state_failed
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/revenue_withdrawal_state_pending.rst
Normal file
10
docs/api/types/revenue_withdrawal_state_pending.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#############################
|
||||
RevenueWithdrawalStatePending
|
||||
#############################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.revenue_withdrawal_state_pending
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/revenue_withdrawal_state_succeeded.rst
Normal file
10
docs/api/types/revenue_withdrawal_state_succeeded.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
###############################
|
||||
RevenueWithdrawalStateSucceeded
|
||||
###############################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.revenue_withdrawal_state_succeeded
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/star_transaction.rst
Normal file
10
docs/api/types/star_transaction.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
###############
|
||||
StarTransaction
|
||||
###############
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.star_transaction
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/star_transactions.rst
Normal file
10
docs/api/types/star_transactions.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
################
|
||||
StarTransactions
|
||||
################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.star_transactions
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/transaction_partner.rst
Normal file
10
docs/api/types/transaction_partner.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
##################
|
||||
TransactionPartner
|
||||
##################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.transaction_partner
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/transaction_partner_fragment.rst
Normal file
10
docs/api/types/transaction_partner_fragment.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
##########################
|
||||
TransactionPartnerFragment
|
||||
##########################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.transaction_partner_fragment
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/transaction_partner_other.rst
Normal file
10
docs/api/types/transaction_partner_other.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#######################
|
||||
TransactionPartnerOther
|
||||
#######################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.transaction_partner_other
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/transaction_partner_user.rst
Normal file
10
docs/api/types/transaction_partner_user.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
######################
|
||||
TransactionPartnerUser
|
||||
######################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.transaction_partner_user
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
Loading…
Add table
Add a link
Reference in a new issue