All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.InputFileFromJavaFile.kt Maven / Gradle / Ivy

There is a newer version: 0.28.3
Show newest version
package com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts

import com.github.insanusmokrassar.TelegramBotAPI.utils.StorageFile
import java.io.File

fun File.toInputFile(): InputFile = MultipartFile(
    StorageFile(this)
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy