MadelineProto/docs/TD_docs/methods/setFileGenerationProgress.md
Daniil Gentili 43adf77378 docufix
2017-12-21 20:08:25 +00:00

730 B

title description
setFileGenerationProgress Next part of a file was generated

Method: setFileGenerationProgress

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Next part of a file was generated

Params:

Name Type Required Description
generation_id int64 Yes Identifier of the generation process
size int Yes Full size of file in bytes, 0 if unknown.
local_size int Yes Number of bytes already generated. Negative number means that generation has failed and should be terminated

Return type: Ok