Package dev.inmo.tgbotapi.extensions.utils.types.files

Functions

Link copied to clipboard
suspend fun TelegramBot.convertToStorageFile(fileId: FileId): StorageFile
suspend fun TelegramBot.convertToStorageFile(pathedFile: PathedFile): StorageFile
suspend fun TelegramBot.convertToStorageFile(file: TelegramMediaFile): StorageFile
suspend fun TelegramBot.convertToStorageFile(content: MediaContent): StorageFile
suspend fun convertToStorageFile(downloadStreamAllocator: ByteReadChannelAllocator, pathedFile: PathedFile): StorageFile