Skip to content

Commit c25871c

Browse files
authored
Mention that members_count is obtained from get_chat only (#581)
1 parent ff5cabb commit c25871c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • pyrogram/types/user_and_chats

pyrogram/types/user_and_chats/chat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ class Chat(Object):
9898
9999
members_count (``int``, *optional*):
100100
Chat members count, for groups, supergroups and channels only.
101+
Returned only in :meth:`~pyrogram.Client.get_chat`.
101102
102103
restrictions (List of :obj:`~pyrogram.types.Restriction`, *optional*):
103104
The list of reasons why this chat might be unavailable to some users.

0 commit comments

Comments
 (0)