Interface

GatewayIdentifyData

Identify payload (opcode 2) — initial handshake.

Properties

compress?: boolean

Whether to use zlib compression.

intents: number

Gateway intents bitfield.

large_threshold?: number

Threshold for large guild offline member fetching.

Initial presence.

properties: { os: string; browser: string; device: string; }

Client properties.

shard?: [shardId: number, numShards: number]

Shard info [shard_id, num_shards].

token: string

Bot or user token.