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

45 lines
839 B
ReStructuredText

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