MadelineProto/docs/TD_docs/methods/setFileGenerationProgress.md
2017-08-25 15:05:53 +02:00

721 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 long 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