nextspace
    Preparing search index...

    Function buildDirectChannels

    • Parameters

      • userId: string
      • agents: AgentChannelConfig[]
      • preferences: Record<string, boolean>

      Returns {
          direct: boolean;
          id?: string;
          name: string;
          participants?: { id?: string }[];
          passcode: string | null;
      }[]