NIMThreadTalkFetchResult.h 699 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // NIMThreadTalkFetchResult.h
  3. // NIMLib
  4. //
  5. // Created by He on 2020/4/7.
  6. // Copyright © 2020 Netease. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @class NIMMessage;
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. * 获取Thread Talk 接口
  13. */
  14. @interface NIMThreadTalkFetchResult : NSObject
  15. /**
  16. * 获取Thread message
  17. */
  18. @property (nonatomic,strong) NIMMessage *message;
  19. /**
  20. * 获取Thread 子消息
  21. */
  22. @property (nonatomic,strong) NSArray *subMessages;
  23. /**
  24. * 总共的消息数
  25. */
  26. @property (nonatomic,assign) int64_t total;
  27. /**
  28. * Thread聊天里最后一条消息的时间戳, 单位: 秒
  29. */
  30. @property (nonatomic,assign) NSTimeInterval timestamp;
  31. @end
  32. NS_ASSUME_NONNULL_END