mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
Remove MkDocs
This commit is contained in:
parent
7dd80d281f
commit
e1cd7268a1
442 changed files with 4 additions and 9429 deletions
44
docs/api/methods/get_chat_administrators.rst
Normal file
44
docs/api/methods/get_chat_administrators.rst
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
#####################
|
||||
getChatAdministrators
|
||||
#####################
|
||||
|
||||
Returns: :obj:`List[ChatMember]`
|
||||
|
||||
.. automodule:: aiogram.methods.get_chat_administrators
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: List[ChatMember] = await bot.get_chat_administrators(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.get_chat_administrators import GetChatAdministrators`
|
||||
- alias: :code:`from aiogram.methods import GetChatAdministrators`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: List[ChatMember] = await GetChatAdministrators(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: List[ChatMember] = await bot(GetChatAdministrators(...))
|
||||
Loading…
Add table
Add a link
Reference in a new issue