aiogram/docs/api/methods/get_chat_gifts.rst
Alex Root Junior dcff0f99c7
Added full support of Telegram Bot API 9.3 (#1747)
* Added full support of Telegram Bot API 9.3

* Fixed tests that fails

* Add tests for `GetChatGifts`, `GetUserGifts`, `RepostStory`, and `SendMessageDraft` methods

* Added changelog record
2026-01-02 01:45:35 +02:00

38 lines
633 B
ReStructuredText

############
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(...))