You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
ws
/
main
/
SessionInfo%3AInterface
Search...
K
ws
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
Classes
SimpleContextFetchingStrategy
SimpleIdentifyThrottler
SimpleShardingStrategy
WebSocketManager
WebSocketShard
WorkerBootstrapper
WorkerContextFetchingStrategy
WorkerShardingStrategy
Functions
getInitialSendRateLimitState
managerToFetchingStrategyOptions
Enums
CloseCodes
CompressionMethod
Encoding
WebSocketShardDestroyRecovery
WebSocketShardEvents
WebSocketShardStatus
WorkerReceivePayloadOp
WorkerSendPayloadOp
Interfaces
BootstrapOptions
FetchingStrategyOptions
IContextFetchingStrategy
IdentifyState
IIdentifyThrottler
IShardingStrategy
OptionalWebSocketManagerOptions
RequiredWebSocketManagerOptions
SendRateLimitState
SessionInfo
ShardRange
WebSocketShardDestroyOptions
WorkerData
WorkerShardingStrategyOptions
Types
ManagerShardEventsMap
WebSocketManagerOptions
WebSocketShardEventsMap
WorkerReceivePayload
WorkerSendPayload
Variables
DefaultDeviceProperty
DefaultWebSocketManagerOptions
ImportantGatewayOpcodes
version
SessionInfo
export declare interface
SessionInfo
export declare interface
SessionInfo
Summary
Session information for a given shard, used to resume a session
Properties
resumeURL
:
string
URL to use when resuming
sequence
:
number
The sequence number of the last message sent by the shard
sessionId
:
string
Session id for this shard
shardCount
:
number
The total number of shards at the time of this shard identifying
shardId
:
number
The id of the shard