DirectMessageCreate

@SerialName(value = "DIRECT_MESSAGE_CREATE")
data class DirectMessageCreate(val id: String? = null, val s: Long = DEFAULT_SEQ, val data: Message) : MessageDispatch(source)

私信消息事件 DIRECT_MESSAGE_CREATE (intents DIRECT_MESSAGE)

发送时机

  • 用户通过私信发消息给机器人时

Constructors

Link copied to clipboard
constructor(id: String? = null, s: Long = DEFAULT_SEQ, data: Message)

Properties

Link copied to clipboard
@SerialName(value = "d")
open override val data: Message

此事件收到的消息对象。

Link copied to clipboard
open override val id: String? = null
Link copied to clipboard
protected open override val s: Long

事件序列

Inherited properties

Link copied to clipboard
Link copied to clipboard
val seq: Long

事件序列