public static class TdApi.SetFileGenerationProgress extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
expectedSize
Expected size of the generated file, in bytes; 0 if unknown.
|
long |
generationId
The identifier of the generation process.
|
int |
localPrefixSize
The number of bytes already generated.
|
Constructor and Description |
---|
SetFileGenerationProgress()
Default constructor for a function, which informs TDLib on a file generation progress.
|
SetFileGenerationProgress(long generationId,
int expectedSize,
int localPrefixSize)
Creates a function, which informs TDLib on a file generation progress.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long generationId
public int expectedSize
public int localPrefixSize
public static final int CONSTRUCTOR
public SetFileGenerationProgress()
Returns Ok
public SetFileGenerationProgress(long generationId, int expectedSize, int localPrefixSize)
Returns Ok
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.public int getConstructor()
getConstructor
in class TdApi.Function