ChannelCreate

@SerialName(value = "CHANNEL_CREATE")
data class ChannelCreate(val id: String? = null, val s: Long = DEFAULT_SEQ, val data: EventChannel) : ChannelDispatch(source)

子频道事件 CHANNEL_CREATE

发送时机

  • 子频道被创建

Constructors

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

Properties

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

事件中涉及到的频道类型。

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

事件序列