Internal_The internal slot list storing serialization field property names.
OptionalchangeThe 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.
OptionaleditOptionalembedOptionalinviteOptionalmanageOptionalpinOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendOptionalsendThe unique 32-bit integer identifier of the parent/abstract type this TL subclass represents.
OptionalviewDeserializes 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.
Generate buffer from TLObject.
StaticreadGenerate the TLObject from buffer.
BytesIO class from TLObject will be convert to TLObject class.
StaticwriteSerializes constructor arguments into a raw binary buffer.
Arguments to be serialized.
An empty Buffer of size 0.
Base abstract class for all Type Language (TL) schema objects within the MTProto protocol.
Remarks
In the Telegram MTProto protocol, messages and API payloads are defined in a custom ID-based schema language called Type Language (TL).
TLObjectis the root class providing fundamental binary serialization (write) and deserialization (read) interfaces, alongside custom console print formatters and standard JSON serializers.