Package org.drinkless.tdlib
Class TdApi.UpdateFileGenerationStart
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Update
org.drinkless.tdlib.TdApi.UpdateFileGenerationStart
- Enclosing class:
- TdApi
The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.If the conversion is "#url#" than originalPath contains an HTTP/HTTPS URL of a file that must be downloaded by the application.The path to a file that must be created and where the new file must be generated by the application.long
Unique identifier for the generation process.The original path specified by the application in inputFileGenerated. -
Constructor Summary
ConstructorsConstructorDescriptionThe file generation process needs to be started by the application.UpdateFileGenerationStart
(long generationId, String originalPath, String destinationPath, String conversion) The file generation process needs to be started by the application. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
generationId
public long generationIdUnique identifier for the generation process. -
originalPath
The original path specified by the application in inputFileGenerated. -
destinationPath
The path to a file that must be created and where the new file must be generated by the application. If the application has no access to the path, it can use writeGeneratedFilePart to generate the file. -
conversion
If the conversion is "#url#" than originalPath contains an HTTP/HTTPS URL of a file that must be downloaded by the application. Otherwise, this is the conversion specified by the application in inputFileGenerated. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateFileGenerationStart
public UpdateFileGenerationStart()The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file. -
UpdateFileGenerationStart
public UpdateFileGenerationStart(long generationId, String originalPath, String destinationPath, String conversion) The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file.- Parameters:
generationId
- Unique identifier for the generation process.originalPath
- The original path specified by the application in inputFileGenerated.destinationPath
- The path to a file that must be created and where the new file must be generated by the application. If the application has no access to the path, it can use writeGeneratedFilePart to generate the file.conversion
- If the conversion is "#url#" than originalPath contains an HTTP/HTTPS URL of a file that must be downloaded by the application. Otherwise, this is the conversion specified by the application in inputFileGenerated.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-