Identify

2.鉴权连接

建立 websocket 连接之后,就需要进行鉴权了,需要发送一个 OpCode 2 Identify 消息

Constructors

Link copied to clipboard
constructor(data: Signal.Identify.Data)

Types

Link copied to clipboard
data class Data(val token: String, val intents: Intents, val shard: Shard, val properties: Map<String, String>)

Properties

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

Inherited properties

Link copied to clipboard