pyrofork: fix typo in class Chat

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2024-08-07 19:43:27 +07:00
parent ccfac93e84
commit b4d2d30fca
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -480,7 +480,7 @@ class Chat(Object):
else:
parsed_chat = Chat._parse_channel_chat(client, chat_raw)
parsed_chat.members_count = full_chat.participants_count
parsed_chat.join_requests_count=getattr(full_chat, "requests_pending", None),
parsed_chat.join_requests_count = getattr(full_chat, "requests_pending", None)
parsed_chat.slow_mode_delay = getattr(full_chat, "slowmode_seconds", None)
parsed_chat.description = full_chat.about or None
# TODO: Add StickerSet type