Skip to content

get file downloaded prefix size

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

libtd-ktx / kotlinx.telegram.coroutines / getFileDownloadedPrefixSize

getFileDownloadedPrefixSize

suspend fun TelegramFlow.getFileDownloadedPrefixSize(fileId: Int, offset: Int): Count

Suspend function, which returns file downloaded prefix size from a given offset.

Parameters

fileId - Identifier of the file.

offset - Offset from which downloaded prefix size should be calculated.

Return Count Contains a counter.

Clone this wiki locally