// // ChatMsgListImModel.h // smartRhino // // Created by armin on 2019/11/5. // Copyright © 2019 tederen. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN @interface ChatMsgListImModel : NSObject typedef enum ChatMsgDetailChatType { ChatType_SingleChat = 1, // 单聊界面 ChatType_GroupChat = 2, // 群聊界面 }ChatType; typedef NS_ENUM(NSInteger, MessageType) { MessageTypeText = 1, MessageTypeImage, MessageTypeFile, MessageTypeVideo, MessageTypeVoice, MessageTypeCmd, MessageTypeExtGif, MessageTypeExtRecall, MessageTypeExtCall, }; //聊天类型 1 文本 2 图片 3 文件 4 视频 5语音 @property (copy,nonatomic) NSString *AvatarUrl; @property (copy,nonatomic) NSString *Name; @property (copy,nonatomic) NSString *FolderName; @property (copy,nonatomic) NSAttributedString *ChatText; @property (copy,nonatomic) NSString *ChatTime; @property (copy,nonatomic) NSString *LastModifiedDate; @property (assign,nonatomic) NSInteger redNum; @property (assign,nonatomic) NSInteger UserId; @property (assign,nonatomic) NSInteger ToUserId; @property (assign,nonatomic) NSInteger ImId; @property (assign,nonatomic) NSInteger Id; @property (assign,nonatomic) ChatType ChatType; @property (assign,nonatomic) MessageType MsgType; @property (assign,nonatomic) BOOL IsTop; @property (assign,nonatomic) BOOL isSelected; @property (assign,nonatomic) BOOL IsDisturb; @property (assign,nonatomic) NSInteger AttributeValue; @end NS_ASSUME_NONNULL_END