# dev.inmo.tgbotapi.extensions.api.files

docs

# Package dev.inmo.tgbotapi.extensions.api.files

## Functions

downloadFile
Link copied to clipboard
suspend fun TelegramBot . downloadFile (fileId: FileId ): ByteArray
Content copied to clipboard
suspend fun TelegramBot . downloadFile (pathedFile: PathedFile ): ByteArray
Content copied to clipboard
suspend fun TelegramBot . downloadFile (file: TelegramMediaFile ): ByteArray
Content copied to clipboard
suspend fun TelegramBot . downloadFile (file: MediaContent ): ByteArray
Content copied to clipboard
suspend fun TelegramBot . downloadFile (filePath: String ): ByteArray
Content copied to clipboard
suspend fun TelegramBot. downloadFile (fileId: FileId, destFile: File ): File
Content copied to clipboard
suspend fun TelegramBot. downloadFile (pathedFile: PathedFile , destFile: File ): File
Content copied to clipboard
suspend fun TelegramBot. downloadFile (file: TelegramMediaFile, destFile: File ): File
Content copied to clipboard
suspend fun TelegramBot. downloadFile (file: MediaContent, destFile: File ): File
Content copied to clipboard
suspend fun TelegramBot. downloadFile (filePath: String , destFile: File ): File
Content copied to clipboard
downloadFileStream
Link copied to clipboard
suspend fun TelegramBot . downloadFileStream (fileId: FileId ): ByteReadChannel
Content copied to clipboard
suspend fun TelegramBot . downloadFileStream (pathedFile: PathedFile ): ByteReadChannel
Content copied to clipboard
suspend fun TelegramBot . downloadFileStream (file: TelegramMediaFile ): ByteReadChannel
Content copied to clipboard
suspend fun TelegramBot . downloadFileStream (file: MediaContent ): ByteReadChannel
Content copied to clipboard
suspend fun TelegramBot . downloadFileStream (filePath: String ): ByteReadChannel
Content copied to clipboard
downloadFileStreamAllocator
Link copied to clipboard
suspend fun TelegramBot . downloadFileStreamAllocator (fileId: FileId ): ByteReadChannelAllocator
Content copied to clipboard
suspend fun TelegramBot . downloadFileStreamAllocator (pathedFile: PathedFile ): ByteReadChannelAllocator
Content copied to clipboard
suspend fun TelegramBot . downloadFileStreamAllocator (file: TelegramMediaFile ): ByteReadChannelAllocator
Content copied to clipboard
suspend fun TelegramBot . downloadFileStreamAllocator (file: MediaContent ): ByteReadChannelAllocator
Content copied to clipboard
suspend fun TelegramBot . downloadFileStreamAllocator (filePath: String ): ByteReadChannelAllocator
Content copied to clipboard