mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-14 02:52:12 +00:00
Added full support of Bot API 7.4 (#1498)
* Added full support of Bot API 7.4 * Added changelog
This commit is contained in:
parent
f50e058725
commit
b08ba78898
118 changed files with 1821 additions and 409 deletions
|
|
@ -161,6 +161,7 @@ Payments
|
|||
answer_pre_checkout_query
|
||||
answer_shipping_query
|
||||
create_invoice_link
|
||||
refund_star_payment
|
||||
send_invoice
|
||||
|
||||
Getting updates
|
||||
|
|
|
|||
45
docs/api/methods/refund_star_payment.rst
Normal file
45
docs/api/methods/refund_star_payment.rst
Normal 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(...)
|
||||
Loading…
Add table
Add a link
Reference in a new issue