Skip to content

SessionAdvance

SessionAdvance: Constructor<{ _tag: "closed"; } | { _tag: "ok"; session: { build: string; component: string; createdAt: number; ephemeral: boolean; expiresAt?: number; id: string; lastInteractionId?: string; message?: { channelId?: string; guildId?: string; id: string; }; props: unknown; state?: {[key: string]: unknown; }; status: "closed" | "pending" | "active"; updatedAt: number; version: number; }; } | { _tag: "expired"; expiresAt: number; }>

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