WFCCConversationInfo.h 881 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // WFCCConversationInfo.h
  3. // WFChatClient
  4. //
  5. // Created by heavyrain on 2017/8/29.
  6. // Copyright © 2017年 wildfire chat. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "WFCCConversation.h"
  10. #import "WFCCMessage.h"
  11. #import "WFCCUnreadCount.h"
  12. /**
  13. 会话信息
  14. */
  15. @interface WFCCConversationInfo : NSObject
  16. /**
  17. 会话
  18. */
  19. @property (nonatomic, strong)WFCCConversation *conversation;
  20. /**
  21. 最后一条消息
  22. */
  23. @property (nonatomic, strong)WFCCMessage *lastMessage;
  24. /**
  25. 草稿
  26. */
  27. @property (nonatomic, strong)NSString *draft;
  28. /**
  29. 最后一条消息的时间戳
  30. */
  31. @property (nonatomic, assign)long long timestamp;
  32. /**
  33. 未读数
  34. */
  35. @property (nonatomic, strong)WFCCUnreadCount *unreadCount;
  36. /**
  37. 是否置顶
  38. */
  39. @property (nonatomic, assign)BOOL isTop;
  40. /**
  41. 是否设置了免打扰
  42. */
  43. @property (nonatomic, assign)BOOL isSilent;
  44. @end