interface GatewayIdentifyData

external
export interface GatewayIdentifyData

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

optionalexternal
compress? : boolean

Whether this connection supports compression of packets false

external
intents : number

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

optionalexternal
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 50

optionalexternal
presence? : GatewayPresenceUpdateData

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

external
properties : GatewayIdentifyProperties

Connection propertiesSee https://discord.com/developers/docs/topics/gateway-events#identify-identify-connection-properties

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

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

external
token : string

Authentication token