UNPKG

easemob-chat-uikit

Version:

![Static Badge](https://img.shields.io/badge/platform-React-green) ![Static Badge](https://img.shields.io/badge/language-typescript-green) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/easemob/Easemob-UIKit-web) ![GitHub last c

17 lines (16 loc) 798 B
declare const useThreadContext: () => { currentThread: import("..").CurrentThread; threadList: { [key: string]: (import("easemob-websdk").EasemobChat.ChatThreadDetail & { members?: string[] | undefined; })[]; }; threadVisible: boolean; setCurrentThread: (thread: import("..").CurrentThread) => void; setThreadVisible: (visible: boolean) => void; getGroupChatThreads: (parentId: string, cursor?: string | undefined) => Promise<string | null>; getThreadMembers: (parentId: string, threadId: string, cursor?: string | undefined) => Promise<string[]>; removeChatThreadMember: (parentId: string, threadId: string, userId: string) => any; getCurrentChatThreadDetail: (threadId: string) => Promise<void>; }; export { useThreadContext };