swc/crates/swc_bundler/tests/.cache/deno/2f060fa3891d00b864577b80f77bbbfa8f87b26e.ts

24 lines
937 B
TypeScript
Raw Normal View History

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/gateway/identify.ts
import { IdentifyConnectionProperties } from "./identify_connection_properties.ts";
import { StatusUpdate } from "./status_update.ts";
/** https://discord.com/developers/docs/topics/gateway#identify */
export interface Identify {
/** Authentication token */
token: string;
/** Connection properties */
properties: IdentifyConnectionProperties;
/** Whether this connection supports compression of packets */
compress?: boolean;
/** Value between 50 and 250, total number of members where the gateway will stop sending offline members in the guild member list */
largeThreshold?: number;
/** Used for Guild Sharding */
shard?: [shardId: number, numberOfShards: number];
/** Presence structure for initial presence information */
presence?: StatusUpdate;
/** The Gateway Intents you wish to receive */
intents: number;
}