MadelineProtoDocs/docs/TD_docs/methods/setFileGenerationProgress.md

813 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 Description Required
generation_id int64 Identifier of the generation process Yes
size int Full size of file in bytes, 0 if unknown. Yes
local_size int Number of bytes already generated. Negative number means that generation has failed and should be terminated Yes

Return type: Ok