Skip to main content
Module

x/discord_api_types/v9.ts>GatewayIdentifyData

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface GatewayIdentifyData
import { type GatewayIdentifyData } from "https://deno.land/x/discord_api_types@0.37.11/v9.ts";

Properties

token: string

Authentication token

optional
compress: boolean

Whether this connection supports compression of packets

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
shard: [number, number]
optional
presence: GatewayPresenceUpdateData

Presence structure for initial presence information

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

intents: number

The Gateway Intents you wish to receive

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