1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- //
- // EMMessageModel.h
- // ChatDemo-UI3.0
- //
- // Created by XieYajie on 2019/1/18.
- // Copyright © 2019 XieYajie. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- 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
|