aiogram/docs/api/methods/get_chat_gifts.rst

39 lines
633 B
ReStructuredText
Raw Normal View History

############
getChatGifts
############
Returns: :obj:`OwnedGifts`
.. automodule:: aiogram.methods.get_chat_gifts
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields
Usage
=====
As bot method
-------------
.. code-block::
result: OwnedGifts = await bot.get_chat_gifts(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.get_chat_gifts import GetChatGifts`
- alias: :code:`from aiogram.methods import GetChatGifts`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: OwnedGifts = await bot(GetChatGifts(...))