aiogram/docs/api/methods/transfer_business_account_stars.rst

46 lines
899 B
ReStructuredText
Raw Permalink Normal View History

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