import { SessionRole, SessionType } from "./Enum"; /** * 会话用户 */ export declare class SessionUser { UserId: string; TenantId: string; NickName: string; Role: SessionRole; HeadPic: string; HeadBackgroundColor: string; /** * 公司 */ Company: string; /** * 部门名称 */ DeptName: string; /** * 是否是创建人 */ IsFounder: boolean; /** * 加入时间 */ JoinDate: string; /** * 退出时间 */ OutDate: string; /** *创建时间 */ CreateTime: string; /** * 修改时间 */ UpdateTime: string; IsDelete: boolean; } /** * 会话数据类 */ export declare class ChatSessionDBModel { /** * 会话名 */ Name: string; /** * 会话编号 */ Id: string; /** * 会话成员 userid,成员详情 */ Members: { [key: string]: SessionUser; }; /** * 成员索引 仅好友使用 */ MembersIndex: string; /** * 最大消息序号Id */ MaxNumId: number; /** * 会话头像 */ SessionPic: string; HeadBackgroundColor: string; /** * 通知,公告 */ Notify: string; /** * 是否已删除 */ IsDelete: boolean; /** * 会话类型 */ Type: SessionType; /** * 创建时间 */ CreateTime: string; /** * 最后更新时间 */ UpdateTime: string; }