Interface
GatewayIdentifyData
Identify payload (opcode 2) — initial handshake.
Properties
| Name | Type | Description |
|---|---|---|
| compress? | boolean | Whether to use zlib compression. |
| flags? | number | GatewayIdentifyFlags bitfield. |
| ignored_events? | string[] | Dispatch event names to suppress for this session. |
| initial_guild_id? | Snowflake | Prefer hydrating this guild first after READY. |
| intents? | number | Legacy intents bitfield. Fluxer ignores this; prefer flags. |
| large_threshold? | number | Threshold for large guild offline member fetching. |
| presence? | GatewayPresenceUpdateData | 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. |