Interface SetFileGenerationProgress

Informs TDLib on a file generation progress. Request type for Tdjson#setFileGenerationProgress.

interface SetFileGenerationProgress {
    @type: "setFileGenerationProgress";
    expected_size: number;
    generation_id: string;
    local_prefix_size: number;
}

Properties

@type: "setFileGenerationProgress"
expected_size: number

Expected size of the generated file, in bytes; 0 if unknown.

generation_id: string

The identifier of the generation process.

local_prefix_size: number

The number of bytes already generated.