-
Notifications
You must be signed in to change notification settings - Fork 11
get file downloaded prefix size
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.coroutines / getFileDownloadedPrefixSize
suspend fun
TelegramFlow
.getFileDownloadedPrefixSize(fileId:
Int
, offset:
Int
):
Count
Suspend function, which returns file downloaded prefix size from a given offset.
fileId
- Identifier of the file.
offset
- Offset from which downloaded prefix size should be calculated.
Return Count Contains a counter.