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

sendImage

suspend fun sendImage(image: BufferedImage): MessageReceipt<TSubject>
suspend fun sendImage(image: URL): MessageReceipt<TSubject>
suspend fun sendImage(image: Input): MessageReceipt<TSubject>
suspend fun sendImage(image: InputStream): MessageReceipt<TSubject>
suspend fun sendImage(image: File): MessageReceipt<TSubject>