mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-11 16:44:53 +00:00
Update get_chat_members docstrings
This commit is contained in:
parent
e1cac13f0d
commit
d7e3397050
1 changed files with 3 additions and 1 deletions
|
|
@ -39,10 +39,12 @@ class GetChatMembers(BaseClient):
|
||||||
limit: int = 200,
|
limit: int = 200,
|
||||||
query: str = "",
|
query: str = "",
|
||||||
filter: str = Filters.ALL) -> "pyrogram.ChatMembers":
|
filter: str = Filters.ALL) -> "pyrogram.ChatMembers":
|
||||||
"""Use this method to get the members list of a chat.
|
"""Use this method to get a chunk of the members list of a chat.
|
||||||
|
|
||||||
|
You can get up to 200 chat members at once.
|
||||||
A chat can be either a basic group, a supergroup or a channel.
|
A chat can be either a basic group, a supergroup or a channel.
|
||||||
You must be admin to retrieve the members list of a channel (also known as "subscribers").
|
You must be admin to retrieve the members list of a channel (also known as "subscribers").
|
||||||
|
For a more convenient way of getting chat members see :meth:`iter_chat_members`.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue