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

Functions

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