Deprecated
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { type GatewayReadyDispatchData } from "https://deno.land/x/discord_api_types@0.37.81/v8.ts";
Properties
Gateway version
See https://discord.com/developers/docs/topics/gateway#gateways-gateway-versions
user: APIUser
Information about the user including email
See https://discord.com/developers/docs/resources/user#user-object
guilds: APIUnavailableGuild[]
The guilds the user is in
See https://discord.com/developers/docs/resources/guild#unavailable-guild-object
The shard information associated with this session, if sent when identifying
See https://discord.com/developers/docs/topics/gateway#sharding
application: Pick<APIApplication, "flags" | "id">
Contains id
and flags
See https://discord.com/developers/docs/resources/application#application-object