mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
pyrofork: fix typo in class Chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
ccfac93e84
commit
b4d2d30fca
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ class Chat(Object):
|
||||||
else:
|
else:
|
||||||
parsed_chat = Chat._parse_channel_chat(client, chat_raw)
|
parsed_chat = Chat._parse_channel_chat(client, chat_raw)
|
||||||
parsed_chat.members_count = full_chat.participants_count
|
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.slow_mode_delay = getattr(full_chat, "slowmode_seconds", None)
|
||||||
parsed_chat.description = full_chat.about or None
|
parsed_chat.description = full_chat.about or None
|
||||||
# TODO: Add StickerSet type
|
# TODO: Add StickerSet type
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue