Cotal TypeScript packages
    Preparing search index...

    Function openStaticChatSession

    • Open one static chat session on target, which the caller resolved once. The three lists are a spawn's, under its rules: subscribe the initial channels, allowSubscribe the read ceiling (empty means subscribe), allowPublish the post list (empty means none). instanceId (--on) chooses the admitting manager; retirement always goes to the instance that answered the open. control asks the manager both at the open and at the retirement.

      Parameters

      • target: MeshTarget
      • options: {
            allowPublish?: readonly string[];
            allowSubscribe?: readonly string[];
            control: ControlClient;
            instanceId?: string;
            label: string;
            subscribe?: readonly string[];
            words: ChatWords;
        }

      Returns Promise<NativeChatSession>