Skip to main content
Version: 0.37.114

GatewayIdentifyData

Index

Properties

optionalcompress

compress?: boolean = false

Whether this connection supports compression of packets

intents

intents: number

The Gateway Intents you wish to receive

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

optionallarge_threshold

large_threshold?: number = 50

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

optionalpresence

Presence structure for initial presence information

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

properties

optionalshard

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

token

token: string

Authentication token