WFCUMessageModel.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // MessageModel.h
  3. // WFChat UIKit
  4. //
  5. // Created by WF Chat on 2017/9/1.
  6. // Copyright © 2017年 WildFireChat. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <WFChatClient/WFCChatClient.h>
  10. @interface WFCUMessageModel : NSObject
  11. + (instancetype)modelOf:(WFCCMessage *)message showName:(BOOL)showName showTime:(BOOL)showTime;
  12. @property (nonatomic, assign)BOOL showTimeLabel;
  13. @property (nonatomic, assign)BOOL showNameLabel;
  14. @property (nonatomic, strong)WFCCMessage *message;
  15. @property (nonatomic, strong)WFCCMessage *quotedMessage;
  16. @property (nonatomic, assign)BOOL mediaDownloading;
  17. @property (nonatomic, assign)int mediaDownloadProgress;
  18. @property (nonatomic, assign)BOOL voicePlaying;
  19. @property (nonatomic, assign)BOOL highlighted;
  20. @property (nonatomic, assign)BOOL lastReadMessage;
  21. @property (nonatomic, strong)NSMutableDictionary<NSString *, NSNumber *> *deliveryDict;
  22. @property (nonatomic, strong)NSMutableDictionary<NSString *, NSNumber *> *readDict;
  23. @property (nonatomic, assign)float deliveryRate;
  24. @property (nonatomic, assign)float readRate;
  25. @property (nonatomic, assign)float selecting;
  26. @property (nonatomic, assign)float selected;
  27. - (void)loadQuotedMessage;
  28. @end