MadelineProtoDocs/docs/TD_docs/methods/setFileGenerationProgress.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

807 B

title description image
setFileGenerationProgress Next part of a file was generated https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: setFileGenerationProgress

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Next part of a file was generated

Parameters:

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