Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend override fun author(): MiraiMember

此消息事件的发送人。

Link copied to clipboard
abstract suspend fun organization(): Organization
Link copied to clipboard
open suspend fun reply(text: String): MessageReceipt
open suspend fun reply(message: MessageContent): MessageReceipt
abstract suspend override fun reply(message: Message): MessageReceipt
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend override fun source(): MiraiGroup

此事件发生的群。

Properties

Link copied to clipboard
open val author: Member
Link copied to clipboard
Link copied to clipboard
abstract override val bot: MiraiBot

事件中的bot对象。

Link copied to clipboard
open override val component: Component
Link copied to clipboard
abstract override val id: ID

事件的唯一标识。 Mirai事件中并不一定存在id,当原始事件中没有ID的情况下,将会生成一个随机ID。

Link copied to clipboard
abstract val key: Event.Key<out Event>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract override val originalEvent: E

原始的mirai事件对象

Link copied to clipboard
open override val source: ChatRoom
Link copied to clipboard
open override val sourceAsync: CompletableFuture<out ChatRoom>
Link copied to clipboard
abstract val timestamp: Timestamp

Inheritors

Link copied to clipboard