@dypai-ai/client-sdk - v1.12.0
    Preparing search index...
    interface UseChannelsReturn {
        channels: Channel[];
        createChannel: (
            name: string,
            members?: string[],
            type?: string,
        ) => Promise<Channel>;
        error: Error | null;
        isLoading: boolean;
        refetch: () => Promise<void>;
    }
    Index

    Properties

    channels: Channel[]
    createChannel: (
        name: string,
        members?: string[],
        type?: string,
    ) => Promise<Channel>
    error: Error | null
    isLoading: boolean
    refetch: () => Promise<void>