Preview environment

interface GatewayReadyDispatchData

export interface GatewayReadyDispatchData

See also: https://discord.com/developers/docs/topics/gateway-events#ready

application : Pick<APIApplication, 'flags' | 'id'>

Contains id and flags

See also: https://discord.com/developers/docs/resources/application#application-object

resume_gateway_url : string

Gateway url for resuming connections

session_id : string

Used for resuming connections

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

The shard information associated with this session, if sent when identifying

See also: https://discord.com/developers/docs/topics/gateway#sharding

user : APIUser

Information about the user including email

See also: https://discord.com/developers/docs/resources/user#user-object