// // EMMessageModel.h // ChatDemo-UI3.0 // // Created by XieYajie on 2019/1/18. // Copyright © 2019 XieYajie. All rights reserved. // #import typedef NS_ENUM(NSInteger, EMMessageType) { EMMessageTypeText = 1, EMMessageTypeImage, EMMessageTypeVideo, EMMessageTypeLocation, EMMessageTypeVoice, EMMessageTypeFile, EMMessageTypeCmd, EMMessageTypeExtGif, EMMessageTypeExtRecall, EMMessageTypeExtCall, }; NS_ASSUME_NONNULL_BEGIN @interface EMMessageModel : NSObject @property (nonatomic, strong) NSString *readReceiptCount; @property (nonatomic, strong) EMMessage *emModel; @property (nonatomic) EMMessageDirection direction; @property (nonatomic) EMMessageType type; //@property (nonatomic) BOOL isReadReceipt; @property (nonatomic) BOOL isPlaying; - (instancetype)initWithEMMessage:(EMMessage *)aMsg; @end NS_ASSUME_NONNULL_END