Skip to content

get file

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

libtd-ktx / kotlinx.telegram.coroutines / getFile

getFile

suspend fun TelegramFlow.getFile(fileId: Int): File

Suspend function, which returns information about a file; this is an offline request.

Parameters

fileId - Identifier of the file to get.

Return File Represents a file.

Clone this wiki locally