Preview environment

interface GatewayIdentifyData

export interface GatewayIdentifyData

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

optional
compress? : boolean

Whether this connection supports compression of packets

intents : number

The Gateway Intents you wish to receive

See also: https://discord.com/developers/docs/topics/gateway#gateway-intents

optional
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

optional
presence? : GatewayPresenceUpdateData

Presence structure for initial presence information

See also: https://discord.com/developers/docs/topics/gateway-events#update-presence

optional
shard? : [shard_id: number, shard_count: number]

Used for Guild Sharding

See also: https://discord.com/developers/docs/topics/gateway#sharding

token : string

Authentication token