NIMImportedRecentSession.h 585 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // NIMImportedRecentSession.h
  3. // NIMLib
  4. //
  5. // Created by Netease.
  6. // Copyright © 2018年 Netease. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @class NIMSession;
  11. /**
  12. * 待导入的最近会话模型
  13. */
  14. @interface NIMImportedRecentSession : NSObject
  15. /**
  16. * 会话
  17. * @discussion 当前只支持 P2P 和 Team 会话类型
  18. */
  19. @property (nonatomic,copy) NIMSession *session;
  20. /**
  21. * 时间戳
  22. * @discussion 最近会话的当前时间
  23. */
  24. @property (nonatomic,assign) NSTimeInterval timestamp;
  25. @end
  26. NS_ASSUME_NONNULL_END