mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Add members_count attribute to Chat
This commit is contained in:
parent
9ac6633cc8
commit
51194945c6
@ -81,7 +81,8 @@ class Chat(Object):
|
|||||||
invite_link: str = None,
|
invite_link: str = None,
|
||||||
pinned_message=None,
|
pinned_message=None,
|
||||||
sticker_set_name: str = None,
|
sticker_set_name: str = None,
|
||||||
can_set_sticker_set: bool = None
|
can_set_sticker_set: bool = None,
|
||||||
|
members_count: int = None
|
||||||
):
|
):
|
||||||
self.id = id
|
self.id = id
|
||||||
self.type = type
|
self.type = type
|
||||||
@ -96,3 +97,4 @@ class Chat(Object):
|
|||||||
self.pinned_message = pinned_message
|
self.pinned_message = pinned_message
|
||||||
self.sticker_set_name = sticker_set_name
|
self.sticker_set_name = sticker_set_name
|
||||||
self.can_set_sticker_set = can_set_sticker_set
|
self.can_set_sticker_set = can_set_sticker_set
|
||||||
|
self.members_count = members_count
|
||||||
|
Loading…
x
Reference in New Issue
Block a user