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
generationIdThe identifier of the generation process
offsetThe offset from which to write the data to the file
dataThe data to write
View on GitHub
Install in Dash
WriteGeneratedFilePart Structure Reference