diff --git a/pyrogram/raw/core/gzip_packed.py b/pyrogram/raw/core/gzip_packed.py index a2750eab..fe093f31 100644 --- a/pyrogram/raw/core/gzip_packed.py +++ b/pyrogram/raw/core/gzip_packed.py @@ -59,3 +59,8 @@ class GzipPacked(TLObject): ) return b.getvalue() + + def __getattr__(self, item): + if item == "packed_data": + return self.packed_data + return getattr(self.packed_data, item)