2
0

WFCCConversationInfo.h 921 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. #import "WFCCJsonSerializer.h"
  13. /**
  14. 会话信息
  15. */
  16. @interface WFCCConversationInfo : WFCCJsonSerializer
  17. /**
  18. 会话
  19. */
  20. @property (nonatomic, strong)WFCCConversation *conversation;
  21. /**
  22. 最后一条消息
  23. */
  24. @property (nonatomic, strong)WFCCMessage *lastMessage;
  25. /**
  26. 草稿
  27. */
  28. @property (nonatomic, strong)NSString *draft;
  29. /**
  30. 最后一条消息的时间戳
  31. */
  32. @property (nonatomic, assign)long long timestamp;
  33. /**
  34. 未读数
  35. */
  36. @property (nonatomic, strong)WFCCUnreadCount *unreadCount;
  37. /**
  38. 是否置顶
  39. */
  40. @property (nonatomic, assign)int isTop;
  41. /**
  42. 是否设置了免打扰
  43. */
  44. @property (nonatomic, assign)BOOL isSilent;
  45. @end