SetFileGenerationProgress
public struct SetFileGenerationProgress : Codable, Equatable, TDFunction
Informs TDLib on a file generation progress
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
The identifier of the generation process
Declaration
Swift
public let generationId: TDInt64
-
Expected size of the generated file, in bytes; 0 if unknown
Declaration
Swift
public let expectedSize: Int32
-
The number of bytes already generated
Declaration
Swift
public let localPrefixSize: Int32
-
Informs TDLib on a file generation progress
Declaration
Swift
public init(generationId: TDInt64, expectedSize: Int32, localPrefixSize: Int32)
Parameters
generationId
The identifier of the generation process
expectedSize
Expected size of the generated file, in bytes; 0 if unknown
localPrefixSize
The number of bytes already generated