aiogram/docs/api/methods/upload_sticker_file.rst
Alex Root Junior c1341ba2df
Added support of Bot API 6.2 (#975)
* Added support of Bot API 6.2
* Added changelog
* Update tests
* Update API version
* Update dependencies, pre-commit config
* Added pytest config
2022-08-14 16:32:29 +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(...))