WriteGeneratedFilePart class

Writes a part of a generated file. This method is intended to be used only if the application has no direct access to TDLib's file system, because it is usually slower than a direct write to the destination file.

Returns Ok.

Inheritance
Available Extensions

Constructors

WriteGeneratedFilePart({required int64 generation_id, required int offset, required bytes data, int? extra, int? clientId})
Writes a part of a generated file. This method is intended to be used only if the application has no direct access to TDLib's file system, because it is usually slower than a direct write to the destination file

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
data bytes
The data to write. ; base64-encoded bytes List<int>
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
generation_id int64
The identifier of the generation process. ; string representation of int, use int.parse
read / write
hashCode int
The hash code for this object.
read-onlyinherited
offset int
The offset from which to write the data to the file.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) WriteGeneratedFilePart?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"writeGeneratedFilePart"