ISPO SDK
    Preparing search index...

    Interface CloudChatSessionReady

    Markdown

    A minted Community chat session: exactly what the app needs to connect the realtime chat worker directly, and nothing else.

    interface CloudChatSessionReady {
        channels: string[];
        handle: string | null;
        kind: "session";
        role: CloudChatRole;
        token: string;
        wsUrl: string;
    }
    Index
    channels: string[]

    Operator-seeded channel ids this session may join.

    handle: string | null

    The account's claimed chat handle; null for readers, who have none.

    kind: "session"

    Access tier: signed-out visitors and signed-in accounts without an active subscription get reader sessions (read everything, post nothing).

    token: string

    Short-TTL chat-scoped token (aud ispo-chat). Never the cloud bearer.

    wsUrl: string

    wss:// endpoint of the realtime chat worker.