mirai-core / net.mamoe.mirai.message / MessagePacket / uploadImage

uploadImage

suspend fun uploadImage(image: BufferedImage): Image
suspend fun uploadImage(image: URL): Image
suspend fun uploadImage(image: Input): Image
suspend fun uploadImage(image: InputStream): Image
suspend fun uploadImage(image: File): Image