QGDirectMessageCreateEvent

频道单聊事件,源自 DirectMessageCreate

Author

ForteScarlet

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val authorId: ID
Link copied to clipboard
abstract override val sourceEventEntity: Message

标准库接收到的原始事件内容。

Link copied to clipboard
open override val time: Timestamp

消息发生(收到)的时间

Inherited properties

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

事件ID。

Link copied to clipboard
abstract override val messageContent: QGMessageContent

接收到的消息内容。

Link copied to clipboard
abstract val sourceEventRaw: String

接收到的事件的原始JSON字符串

Functions

Link copied to clipboard
abstract suspend override fun content(): QGDmsContact

发送消息的频道私聊用户目标

Inherited functions

Link copied to clipboard
abstract suspend fun reply(text: String): MessageReceipt
abstract suspend fun reply(messageContent: MessageContent): MessageReceipt

abstract suspend override fun reply(message: Message): QGMessageReceipt

基于当前事件进行消息回复。