mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 10:53:44 +03:00
fix Group.pack()'s PackedType check
This commit is contained in:
parent
f726d1dcc4
commit
7408a43495
|
@ -72,7 +72,7 @@ class Group(Chat, metaclass=NoPublicConstructor):
|
|||
return None
|
||||
else:
|
||||
return PackedChat(
|
||||
ty=PackedType.MEGAGROUP,
|
||||
ty=PackedType.GIGAGROUP if getattr(self._raw, "gigagroup", False) else PackedType.MEGAGROUP,
|
||||
id=self._raw.id,
|
||||
access_hash=self._raw.access_hash,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user