AbstractProtected ReadonlybotProtected ReadonlycodecProtected ReadonlycustomProtected ReadonlyidProtected ReadonlymetaProtectedresultProtected ReadonlystartProtected ReadonlystartProtectedstateProtected ReadonlyttlProtected ReadonlyupdateStatic ReadonlyDefaultBuilds this session's custom id, optionally with extra data.
Optionalextra: stringReturns the bot that owns this session.
Returns the ID of the channel this session was started in.
Returns the end promise that will resolve to a SessionEndData when this session ends.
Returns the ID of the guild this session was started in, or null if in a DM.
Returns the identifier of this object.
Returns a readonly metadata collection of this object, if any.
Returns the result of this session.
Returns the filter for starting this session.
Returns the SessionStartInteraction that started this session.
Protected AbstractgetExtracts identity information from the interaction that started this session.
Returns the state of this session.
Returns the TTL of this session.
Returns the filter for update interactions of this session.
Returns the ID of the user that started this session.
ProtectedhandleProtectedhandleProtectedhandleReturns whether the interaction that started this session has already been replied to.
AbstractonEnds the session.
AbstractonAbstractonUpdates the session's state with an interaction.
Whether the session's TTL should be reset after this update.
ProtectedselfStarts the session. Alias of SessionManager#start(this).
An object that represents a user's interaction session with a bot.
A session stores its state, and can be updated and respond to user interactions.