GatewayIdentifyData

https://discord.com/developers/docs/topics/gateway-events#identify

Signature

export interface GatewayIdentifyData

Properties

token: string;

Authentication token

compress?: boolean;

Whether this connection supports compression of packets

@defaultfalse
large_threshold?: number;

Value between 50 and 250, total number of members where the gateway will stop sending offline members in the guild member list

@default50
shard?: [    shard_id: number,    shard_count: number];

Used for Guild Sharding See https://discord.com/developers/docs/topics/gateway#sharding

presence?: GatewayPresenceUpdateData;

Presence structure for initial presence information See https://discord.com/developers/docs/topics/gateway-events#update-presence

intents: number;

The Gateway Intents you wish to receive See https://discord.com/developers/docs/topics/gateway#gateway-intents