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.
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 double-precision floating-point number from a binary stream.
The BytesIO stream to read the double from.
Set to true to read in little-endian byte ordering; set to false for big-endian. Defaults to true.
A promise resolving to the decoded number value.
StaticwriteSerializes a JS number into an 8-byte buffer.
The floating-point number to serialize.
Set to true to use little-endian byte ordering; set to false for big-endian. Defaults to true.
A Buffer containing the 8-byte representation of the double.
Serializer and deserializer for double-precision 64-bit floating-point numbers (IEEE 754).
Remarks
In MTProto, double-precision floats are represented as 8 bytes, typically in little-endian order.