aiogram/docs/api/methods/set_my_short_description.rst
2023-07-04 00:39:02 +03:00

45 lines
829 B
ReStructuredText

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