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 provided arguments using the associated class's write method.
The arguments to be serialized.
The resulting Buffer after serialization.
StaticreadReads a vector of elements from the provided BytesIO stream.
The BytesIO stream to read from.
Optionaltl: any(Optional) A type layer object with a read method for reading each element.
A promise that resolves to an array containing the read elements.
StaticreadReads a value from the provided BytesIO stream based on the specified size.
size is 4, reads and returns an integer using Int.read.size is 8, reads and returns a long integer using Long.read.TLObject.read.The BytesIO stream to read from.
The size of the value to read (in bytes).
A Promise resolving to the value read from the stream.
StaticwriteSerializes an array of values into a Buffer using the Vector schema.
The array of values to serialize.
Optionaltl: any(Optional) A type layer object that provides a custom write method for serializing each element.
A Buffer containing the serialized representation of the vector.
Vector is a class representing a vector (array) of Telegram MTProto objects. It provides methods to read and write these vectors in a specified format.