@droppii-org/chat-sdk
Version:
Droppii React Chat SDK
26 lines • 928 B
TypeScript
import { ConversationItem, SessionType } from "@openim/wasm-client-sdk";
export declare const isGroupSession: (sessionType?: SessionType) => boolean;
export declare const conversationSort: (conversationList: ConversationItem[], originalList?: ConversationItem[]) => {
conversationID: string;
conversationType: SessionType;
userID: string;
groupID: string;
showName: string;
faceURL: string;
recvMsgOpt: import("@openim/wasm-client-sdk").MessageReceiveOptType;
unreadCount: number;
groupAtType: import("@openim/wasm-client-sdk").GroupAtType;
latestMsg: string;
latestMsgSendTime: number;
draftText: string;
draftTextTime: number;
burnDuration: number;
msgDestructTime: number;
isPinned: boolean;
isNotInGroup: boolean;
isPrivateChat: boolean;
isMsgDestruct: boolean;
attachedInfo: string;
ex?: string;
}[];
//# sourceMappingURL=imCommon.d.ts.map