mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 23:05:15 +00:00
Update get_chat_members docstrings
This commit is contained in:
@@ -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``):
|
||||||
|
Reference in New Issue
Block a user