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