Skip to main content
Module

x/discord_api_types/v8.ts>GatewayIdentifyData

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface GatewayIdentifyData
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type GatewayIdentifyData } from "https://deno.land/x/discord_api_types@0.37.11/v8.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