mirai-core / net.mamoe.mirai.event.events / ImageUploadEvent

ImageUploadEvent

sealed class ImageUploadEvent : BotEvent, BotActiveEvent, AbstractCancellableEvent

图片上传完成

See Also

Succeed

Failed

Types

Failed

data class Failed : ImageUploadEvent, CancellableEvent

Succeed

data class Succeed : ImageUploadEvent, CancellableEvent

Properties

bot

open val bot: Bot

source

abstract val source: ExternalImage

target

abstract val target: Contact

Extension Functions

broadcast

广播一个事件的唯一途径.

suspend fun <E : Event> E.broadcast(): E