Skip to content

checkSessionMutable

checkSessionMutable(session, now): SessionClosed | SessionExpired | undefined

Defined in: packages/core/src/session/advance.ts:22

string = Schema.String

Application build fingerprint. Empty means “do not check”.

string = Schema.String

Registered component key, resolved by the platform integration.

number = Schema.Finite

boolean = Schema.Boolean

number = ...

string = Schema.String

string = ...

{ channelId?: string; guildId?: string; id: string; } = ...

string = ...

string = ...

string = Schema.String

unknown = Schema.Unknown

{[key: string]: unknown; } = ...

"closed" | "pending" | "active" = ...

number = Schema.Finite

number = Schema.Int

The state version the message on the platform shows. Bumped per interaction.

number

SessionClosed | SessionExpired | undefined