Function useOpenChannelList
- useOpenChannelList(sdk, userId?, options?): {
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