NIMSDK-iOS
载入中...
搜索中...
未找到
V2NIMThreadMessageListOption类 参考

#import <V2NIMThreadMessageListOption.h>

类 V2NIMThreadMessageListOption 继承关系图:

属性

V2NIMMessageRefermessageRefer
 需要查询的消息引用, 如果该消息为根消息,则参数为当前消息;否则需要获取当前消息的根消息作为输入参数查询;否则查询失败 更多...
 
NSTimeInterval beginTime
 查询开始时间,小于等于 endTime。 更多...
 
NSTimeInterval endTime
 查询结束时间。默认当前时间+1个小时 更多...
 
NSString * excludeMessageServerId
 
NSInteger limit
 
V2NIMQueryDirection direction
 

属性说明

◆ beginTime

- (NSTimeInterval) beginTime
readwritenonatomicassign

查询开始时间,小于等于 endTime。

◆ direction

- (V2NIMQueryDirection) direction
readwritenonatomicassign

消息查询方向,如果其它参数都不填 DESC: 按时间从大到小查询 ASC:按时间从小到大查询

◆ endTime

- (NSTimeInterval) endTime
readwritenonatomicassign

查询结束时间。默认当前时间+1个小时

◆ excludeMessageServerId

- (NSString*) excludeMessageServerId
readwritenonatomiccopy

锚点消息ServerId, 该消息必须处于端点,暨消息时间必须等于beginTime或endTime 如果是合法的消息id则表示排除该消息,否则不排除

◆ limit

- (NSInteger) limit
readwritenonatomicassign

每次查询条数 默认50,必须大于 0

◆ messageRefer

- (V2NIMMessageRefer*) messageRefer
readwritenonatomicstrong

需要查询的消息引用, 如果该消息为根消息,则参数为当前消息;否则需要获取当前消息的根消息作为输入参数查询;否则查询失败


该类的文档由以下文件生成: