• Parameters

    Returns {
        groupChannels: GroupChannel[];
        loading: boolean;
        next: (() => Promise<void>);
        refresh: (() => Promise<void>);
        refreshing: boolean;
    }

    • groupChannels: GroupChannel[]

      Get group channels state

    • loading: boolean

      Loading state, only available on first render

    • next: (() => Promise<void>)
        • (): Promise<void>
        • Fetch next channels to state

          Returns

          Returns Promise<void>

    • refresh: (() => Promise<void>)
        • (): Promise<void>
        • Refresh, clear and reload messages from latest

          Returns

          Returns Promise<void>

    • refreshing: boolean

      Refreshing state, status is changes when the refresh is called.

Generated using TypeDoc