NIMStickTopSessionInfo.h 665 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // NIMStickTopSessionInfo.h
  3. // NIMSDK
  4. //
  5. // Created by 丁文超 on 2020/4/1.
  6. // Copyright © 2020 Netease. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "NIMSession.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. * 置顶信息
  13. */
  14. @interface NIMStickTopSessionInfo : NSObject
  15. /**
  16. * 对应的会话
  17. */
  18. @property (nonatomic, copy) NIMSession *session;
  19. /**
  20. * 扩展字段,最大512字符
  21. */
  22. @property (nonatomic, copy, nullable) NSString *ext;
  23. /**
  24. * 创建时间(s)
  25. */
  26. @property (nonatomic, assign) NSTimeInterval createTime;
  27. /**
  28. * 更新时间(s)
  29. */
  30. @property (nonatomic, assign) NSTimeInterval updateTime;
  31. @end
  32. NS_ASSUME_NONNULL_END