Added full support of Bot API 7.4

This commit is contained in:
JRoot Junior 2024-05-30 21:45:53 +03:00
parent f50e058725
commit f87eca6e44
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2
117 changed files with 1820 additions and 409 deletions

View file

@ -161,6 +161,7 @@ Payments
answer_pre_checkout_query
answer_shipping_query
create_invoice_link
refund_star_payment
send_invoice
Getting updates

View file

@ -0,0 +1,45 @@
#################
refundStarPayment
#################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.refund_star_payment
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.refund_star_payment(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.refund_star_payment import RefundStarPayment`
- alias: :code:`from aiogram.methods import RefundStarPayment`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(RefundStarPayment(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return RefundStarPayment(...)

View file

@ -197,3 +197,9 @@ Available elements
.. autoclass:: aiogram.utils.formatting.CustomEmoji
:show-inheritance:
.. autoclass:: aiogram.utils.formatting.BlockQuote
:show-inheritance:
.. autoclass:: aiogram.utils.formatting.ExpandableBlockQuote
:show-inheritance: