Preview environment

interface GatewayReadyDispatchData

export interface GatewayReadyDispatchData

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

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#shardingundefined

user : APIUser

Information about the user including email

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