Interface
GatewayIdentifyData
Identify payload (opcode 2) — initial handshake.
Properties
| Name | Type | Description |
|---|---|---|
| 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 has no gateway intents and ignores this field. Prefer flags. Do not send it on Identify. |
| presence? | GatewayPresenceUpdateData | Initial presence. |
| properties | { os: string; browser: string; device: string; e2ee_capable?: boolean; } | Client properties. |
| shard? | [shardId: number, numShards: number] | Shard info [shard_id, num_shards]. |
| token | string | Bot or user token. |