2023-03-11 02:17:47 +02:00
|
|
|
################
|
|
|
|
|
setMyDescription
|
|
|
|
|
################
|
|
|
|
|
|
|
|
|
|
Returns: :obj:`bool`
|
|
|
|
|
|
|
|
|
|
.. automodule:: aiogram.methods.set_my_description
|
|
|
|
|
:members:
|
|
|
|
|
:member-order: bysource
|
|
|
|
|
:undoc-members: True
|
2023-07-04 00:39:02 +03:00
|
|
|
:exclude-members: model_config,model_fields
|
2023-03-11 02:17:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
|
=====
|
|
|
|
|
|
|
|
|
|
As bot method
|
|
|
|
|
-------------
|
|
|
|
|
|
|
|
|
|
.. code-block::
|
|
|
|
|
|
|
|
|
|
result: bool = await bot.set_my_description(...)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Method as object
|
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
Imports:
|
|
|
|
|
|
|
|
|
|
- :code:`from aiogram.methods.set_my_description import SetMyDescription`
|
|
|
|
|
- alias: :code:`from aiogram.methods import SetMyDescription`
|
|
|
|
|
|
|
|
|
|
With specific bot
|
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
|
|
result: bool = await bot(SetMyDescription(...))
|
|
|
|
|
|
|
|
|
|
As reply into Webhook in handler
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
|
|
return SetMyDescription(...)
|