Constructs a new TLObject instance, initializing slots and late-bound constructors.
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 unique 32-bit integer identifier of the parent/abstract type this TL subclass represents.
StaticSIZEThe byte size of a 128-bit integer (16 bytes).
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 the current class instance into a raw binary buffer.
Arguments passed down to the writer.
A Buffer containing the serialized representation of this object.
StaticreadReads and decodes a 128-bit integer from a binary stream.
The BytesIO stream to read the integer from.
Set to true to parse as signed; set to false for unsigned. Defaults to true.
Set to true to read in little-endian format; set to false for big-endian. Defaults to true.
The exact number of bytes to read from the stream. Defaults to Int128.SIZE.
A promise resolving to the decoded native bigint.
StaticwriteSerializes a 128-bit integer into a Buffer.
The native bigint to serialize.
Unused parameter.
Unused parameter.
A Buffer containing the 16-byte representation of the 128-bit integer.
Serializer and deserializer for 128-bit (16-byte) integers.
Remarks
Used in MTProto cryptographic handshakes, secure nonces, and session key generation. Operates on native JavaScript
bigintvalues.