Skip to content

finish file generation

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

libtd-ktx / kotlinx.telegram.coroutines / finishFileGeneration

finishFileGeneration

suspend fun TelegramFlow.finishFileGeneration(generationId: Long, error: Error?): Unit

Suspend function, which finishes the file generation.

Parameters

generationId - The identifier of the generation process.

error - If set, means that file generation has failed and should be terminated.

Clone this wiki locally