libtd-ktx / kotlinx.telegram.coroutines / setFileGenerationProgress
setFileGenerationProgress
suspend fun
TelegramFlow
.setFileGenerationProgress(generationId:
Long
, expectedSize:
Int
, localPrefixSize:
Int
):
Unit
Suspend function, which informs TDLib on a file generation progress.
Parameters
generationId
- The identifier of the generation process.
expectedSize
- Expected size of the generated file, in bytes; 0 if unknown.
localPrefixSize
- The number of bytes already generated.