Ready

@SerialName(value = "READY")
data class Ready(val id: String? = null, val s: Long = DEFAULT_SEQ, val data: Ready.Data) : Signal.Dispatch(source)

鉴权成功之后,后台会下发的 Ready Event.

Constructors

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

Types

Link copied to clipboard
data class Data(val version: String, val sessionId: String, val user: User, val shard: Shard)

Ready 的事件内容

Properties

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

此事件的实际本体

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

事件序列