public static class TdApi.FinishFileGeneration extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Error |
error
If passed, the file generation has failed and must be terminated; pass null if the file generation succeeded.
|
long |
generationId
The identifier of the generation process.
|
| Constructor and Description |
|---|
FinishFileGeneration()
Default constructor for a function, which finishes the file generation.
|
FinishFileGeneration(long generationId,
TdApi.Error error)
Creates a function, which finishes the file generation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long generationId
public TdApi.Error error
public static final int CONSTRUCTOR
public FinishFileGeneration()
Returns Ok
public FinishFileGeneration(long generationId,
TdApi.Error error)
Returns Ok
generationId - The identifier of the generation process.error - If passed, the file generation has failed and must be terminated; pass null if the file generation succeeded.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object