Interface

GatewayIdentifyData

Identify payload (opcode 2) — initial handshake.

Properties

NameTypeDescription
compress?booleanWhether to use zlib compression.
flags?numberGatewayIdentifyFlags bitfield.
ignored_events?string[]Dispatch event names to suppress for this session.
initial_guild_id?SnowflakePrefer hydrating this guild first after READY.
intents?numberLegacy intents bitfield. Fluxer ignores this; prefer flags.
large_threshold?numberThreshold for large guild offline member fetching.
presence?GatewayPresenceUpdateDataInitial presence.
properties{ os: string; browser: string; device: string; }Client properties.
shard?[shardId: number, numShards: number]Shard info [shard_id, num_shards].
tokenstringBot or user token.