mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-07-03 06:40:49 +00:00
1.6 KiB
1.6 KiB
//docs/dev.inmo.tgbotapi.extensions.api/downloadFile
downloadFile
[common]
Content
suspend fun TelegramBot.downloadFile(filePath: String): ByteArray
suspend fun TelegramBot.downloadFile(pathedFile: PathedFile): ByteArray
suspend fun TelegramBot.downloadFile(fileId: FileId): ByteArray
suspend fun TelegramBot.downloadFile(file: TelegramMediaFile): ByteArray