Added full support of Bot API 7.4 (#1498)

* Added full support of Bot API 7.4

* Added changelog
This commit is contained in:
Alex Root Junior 2024-05-31 20:07:11 +03:00 committed by GitHub
parent f50e058725
commit b08ba78898
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
118 changed files with 1821 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(...)