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.