- Preparing search index...
- The search index is not available
Documentation
Function useOpenChannelList
- useOpenChannelList(sdk: SendbirdChatSDK, userId?: string, options?: UseOpenChannelListOptions): {
error: unknown;
loading: boolean;
next: (() => Promise<void>);
openChannels: OpenChannel[];
refresh: (() => Promise<void>);
refreshing: boolean;
}
-
Parameters
-
sdk: SendbirdChatSDK
-
Optional
userId: string
-
Returns {
error: unknown;
loading: boolean;
next: (() => Promise<void>);
openChannels: OpenChannel[];
refresh: (() => Promise<void>);
refreshing: boolean;
}
-
error: unknown
-
loading: boolean
-
next: (() => Promise<void>)
-
- (): Promise<void>
-
Returns Promise<void>
-
openChannels: OpenChannel[]
-
refresh: (() => Promise<void>)
-
- (): Promise<void>
-
Returns Promise<void>
-
refreshing: boolean
Error state