MiraiMemberMessageEvent

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend override fun reply(text: String): SimbotMiraiMessageReceipt<Member>
abstract suspend override fun reply(message: Message): SimbotMiraiMessageReceipt<Member>
abstract suspend override fun reply(message: MessageContent): SimbotMiraiMessageReceipt<Member>

回复此群成员的消息。效果等同于 send.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend override fun send(text: String): SimbotMiraiMessageReceipt<Member>
abstract suspend override fun send(message: Message): SimbotMiraiMessageReceipt<Member>
abstract suspend override fun send(message: MessageContent): SimbotMiraiMessageReceipt<Member>

向此群成员发送消息。效果等同于 reply.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun source(): MiraiMember

发送消息的群成员。同 user

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

发送消息的群成员。

Properties

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
Link copied to clipboard
Link copied to clipboard
abstract override val originalEvent: GroupTempMessageEvent

原始的mirai事件对象

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