Skip to content

UpdateFileGenerationStart

Update · TDLib 1.8.67 · d1085f9c

The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file

UpdateFileGenerationStart(
  generation_id: int64,
  original_path: string,
  destination_path: string,
  conversion: string
) → Update

generation_id

int64

Unique identifier for the generation process

original_path

string

The original path specified by the application in inputFileGenerated

destination_path

string

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

string

If the conversion is "#url#", then original_path 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