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

uploadAsImage

suspend fun URL.uploadAsImage(): Image
suspend fun Input.uploadAsImage(): Image
suspend fun InputStream.uploadAsImage(): Image
suspend fun File.uploadAsImage(): Image