getFile - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


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.