Typescript & Java 类属性:聊天消息模型
// 用于记录是自己还是对方 (1 自己 2 对方) private int type; // 接收创建时间戳 private long time; // 阅读状态 0 未读 1 已读 private int readState; // 消息类型 0 普通文本消息 1 图片文本消息 2 图片消息 3 未定义文件消息 private int messageType; // 消息接收进度 private int readProgress; // 消息接收进度状态 private boolean readProgressState; // 消息内容 private String message; // 消息ID标识 private String identifying; // 文件 private Object file; // 文件名称 private String fileName; // 文件上传下标 private int uploadSliceFileIndex; // 文件上传状态 private boolean uploadSliceFileState; // 文件切片大小 private int uploadSliceSize; // 文件上传下标进度 private int uploadSliceFilePercentage; // 文件上传Bytes总大小 private int uploadBytesTotalSize; // 文件上传附件切片总大小 private int uploadSliceTotalCount;
原文地址: https://www.cveoy.top/t/topic/pJAL 著作权归作者所有。请勿转载和采集!