From c25871c452c5d90233dcfe0ab00efe6f8167fa23 Mon Sep 17 00:00:00 2001 From: Pari030 <37542814+Pari030@users.noreply.github.com> Date: Fri, 8 Jan 2021 10:00:45 +0100 Subject: [PATCH] Mention that members_count is obtained from get_chat only (#581) --- pyrogram/types/user_and_chats/chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyrogram/types/user_and_chats/chat.py b/pyrogram/types/user_and_chats/chat.py index a8b4a950..e3d3d1df 100644 --- a/pyrogram/types/user_and_chats/chat.py +++ b/pyrogram/types/user_and_chats/chat.py @@ -98,6 +98,7 @@ class Chat(Object): members_count (``int``, *optional*): Chat members count, for groups, supergroups and channels only. + Returned only in :meth:`~pyrogram.Client.get_chat`. restrictions (List of :obj:`~pyrogram.types.Restriction`, *optional*): The list of reasons why this chat might be unavailable to some users.