mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 18:43:53 +00:00
39 lines
693 B
ReStructuredText
39 lines
693 B
ReStructuredText
|
|
#################
|
||
|
|
getUserChatBoosts
|
||
|
|
#################
|
||
|
|
|
||
|
|
Returns: :obj:`UserChatBoosts`
|
||
|
|
|
||
|
|
.. automodule:: aiogram.methods.get_user_chat_boosts
|
||
|
|
:members:
|
||
|
|
:member-order: bysource
|
||
|
|
:undoc-members: True
|
||
|
|
:exclude-members: model_config,model_fields
|
||
|
|
|
||
|
|
|
||
|
|
Usage
|
||
|
|
=====
|
||
|
|
|
||
|
|
As bot method
|
||
|
|
-------------
|
||
|
|
|
||
|
|
.. code-block::
|
||
|
|
|
||
|
|
result: UserChatBoosts = await bot.get_user_chat_boosts(...)
|
||
|
|
|
||
|
|
|
||
|
|
Method as object
|
||
|
|
----------------
|
||
|
|
|
||
|
|
Imports:
|
||
|
|
|
||
|
|
- :code:`from aiogram.methods.get_user_chat_boosts import GetUserChatBoosts`
|
||
|
|
- alias: :code:`from aiogram.methods import GetUserChatBoosts`
|
||
|
|
|
||
|
|
With specific bot
|
||
|
|
~~~~~~~~~~~~~~~~~
|
||
|
|
|
||
|
|
.. code-block:: python
|
||
|
|
|
||
|
|
result: UserChatBoosts = await bot(GetUserChatBoosts(...))
|