aiogram/docs/api/methods/set_sticker_set_thumbnail.rst
Alex Root Junior 6570d0bab1
Bot API 6.6 (#1139)
* Added basic support of Bot API 6.6

* Update descriptions

* Added StickerFormat enum

* Bump version

* Refresh from docs

* Fixed CommandStart

* Fixed files uploading

* Cover new functionality

* Added changelog

* Update texts
2023-03-11 02:17:47 +02:00

44 lines
791 B
ReStructuredText

######################
setStickerSetThumbnail
######################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.set_sticker_set_thumbnail
:members:
:member-order: bysource
:undoc-members: True
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(...)