MessageCreate

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

发送消息事件,代表频道内的全部消息,而不只是 at 机器人的消息。内容与 AT_MESSAGE_CREATE 相同

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

事件序列