NIMCollectQueryOptions.h 790 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // NIMCollectQueryParams.h
  3. // NIMLib
  4. //
  5. // Created by 丁文超 on 2020/3/27.
  6. // Copyright © 2020 Netease. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface NIMCollectQueryOptions : NSObject
  11. /**
  12. * 最小时间(s)
  13. */
  14. @property (nonatomic, assign) NSTimeInterval fromTime;
  15. /**
  16. * 最大时间,传0表示当前时间(s)
  17. */
  18. @property (nonatomic, assign) NSTimeInterval toTime;
  19. /**
  20. * 上一页最后一条ID,第一条传0
  21. */
  22. @property (nonatomic, assign) NSInteger excludeId;
  23. /**
  24. * 查询条数,默认100
  25. */
  26. @property (nonatomic, assign) NSInteger limit;
  27. /**
  28. * 是否倒序
  29. */
  30. @property (nonatomic, assign) BOOL reverse;
  31. /**
  32. * 收藏类型
  33. */
  34. @property (nonatomic, assign) NSInteger type;
  35. @end
  36. NS_ASSUME_NONNULL_END