Internal array of slot names for the object.
Name of the class.
Type of the class.
Reference to the constructor of the current class (late static binding).
Unique identifier for the constructor.
Identifier for the parent class (if any).
StaticIDReads data from the provided BytesIO instance and processes it using the associated class's read method.
The BytesIO instance containing the data to be read.
Additional arguments to be passed to the class's read method.
A promise that resolves with the result of the read operation.
Serializes the current instance into a Buffer using Gzip compression.
This method performs the following steps:
The serialized and Gzip-compressed representation of the instance.
StaticreadReads and decompresses Gzip-packed data from the provided BytesIO stream.
This static method overrides the base implementation to:
Primitive.Bytes.read.gunzipSync.BytesIO instance.TLObject.GzipPacked instance.The BytesIO stream containing the Gzip-packed data.
Additional arguments (unused).
A Promise that resolves to a GzipPacked instance.
Staticwrite
GzipPacked is a class representing a Telegram MTProto object that is packed using gzip compression. It provides methods to read and write this packed data in a specified format.