WriteGeneratedFilePart
public struct WriteGeneratedFilePart : Codable, Equatable, TDFunction
Writes a part of a generated file. This method is intended to be used only if the client has no direct access to TDLib’s file system, because it is usually slower than a direct write to the destination file
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
The identifier of the generation process
Declaration
Swift
public let generationId: TDInt64
-
The offset from which to write the data to the file
Declaration
Swift
public let offset: Int32
-
The data to write
Declaration
Swift
public let data: Bytes
-
Writes a part of a generated file. This method is intended to be used only if the client has no direct access to TDLib’s file system, because it is usually slower than a direct write to the destination file
Parameters
generationId
The identifier of the generation process
offset
The offset from which to write the data to the file
data
The data to write