aiogram/docs/api/methods/upload_sticker_file.rst
2022-08-14 01:37:00 +03:00

37 lines
612 B
ReStructuredText

#################
uploadStickerFile
#################
Returns: :obj:`File`
.. automodule:: aiogram.methods.upload_sticker_file
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: File = await bot.upload_sticker_file(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.upload_sticker_file import UploadStickerFile`
- alias: :code:`from aiogram.methods import UploadStickerFile`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: File = await bot(UploadStickerFile(...))