mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-10-02 23:46:09 +00:00
15 lines
1.6 KiB
Markdown
15 lines
1.6 KiB
Markdown
|
//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.api](index.md)/[downloadFile](download-file.md)
|
||
|
|
||
|
|
||
|
|
||
|
# downloadFile
|
||
|
[common]
|
||
|
Content
|
||
|
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[downloadFile](download-file.md)(filePath: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)
|
||
|
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[downloadFile](download-file.md)(pathedFile: [PathedFile](../dev.inmo.tgbotapi.types.files/-pathed-file/index.md)): [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)
|
||
|
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[downloadFile](download-file.md)(fileId: [FileId](../dev.inmo.tgbotapi.requests.abstracts/-file-id/index.md)): [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)
|
||
|
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[downloadFile](download-file.md)(file: [TelegramMediaFile](../dev.inmo.tgbotapi.types.files.abstracts/-telegram-media-file/index.md)): [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)
|
||
|
|
||
|
|
||
|
|