Constructs a new GzipPacked instance.
The inner uncompressed TLObject to package.
Internal_The internal slot list storing serialization field property names.
The canonical string name of this class representation.
The underlying classification type (e.g. request, constructor, function).
A dynamic reference to the current subclass constructor. Enables late static binding for instance methods to access static helper operations.
The unique 32-bit integer identifier (CRC32 checksum) of this TL constructor.
The underlying inner deserialized TLObject that was compressed.
The unique 32-bit integer identifier of the parent/abstract type this TL subclass represents.
StaticIDThe unique class ID identifier representing GzipPacked (0x3072cfa1).
Deserializes a binary stream into this specific TLObject instance.
The BytesIO buffer stream containing the serialized TLObject.
Additional arguments passed down to the read parser.
A promise resolving to the parsed instance.
Formats the TLObject into a structured string.
A string starting with the constructor name followed by a pretty JSON payload.
Serializes and zlib-compresses the inner TLObject into a raw binary buffer.
A Buffer representing the compressed MTProto binary structure.
StaticreadReads, decompresses, and deserializes a Gzip-packed payload from a binary stream.
The BytesIO stream containing the compressed gzip_packed data structure.
Unused additional parameters.
A promise resolving to the decompressed GzipPacked instance wrapping the deserialized object.
StaticwriteSerializes constructor arguments into a raw binary buffer.
Arguments to be serialized.
An empty Buffer of size 0.
Represents a Gzip-compressed wrapper around another serialized TLObject payload.
Remarks
Telegram MTProto automatically packages certain large responses or bulk payloads within a
gzip_packedconstructor to optimize bandwidth and network performance. This class handles the transparent zlib-based compression and decompression of these payloads.