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.
OptionalrestoreIdentifier for the parent class (if any).
OptionalupgradeReads 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.
Generate buffer from TLObject.
StaticreadGenerate the TLObject from buffer.
BytesIO class from TLObject will be convert to TLObject class.
Staticwrite
Represents a base class for TL (Type Language) objects.
This class provides serialization and deserialization logic for TL objects, as well as utility methods for inspection and JSON conversion.
Remarks
Example