NIMQChatGetMessageHistoryParam Class Reference

Inherits from NSObject
Declared in NIMQChatGetMessageHistoryParam.h

Overview

从服务端查询历史消息的参数类型

  serverId

圈组服务器ID

@property (nonatomic, assign) unsigned long long serverId

Discussion

圈组服务器ID

Declared In

NIMQChatGetMessageHistoryParam.h

  channelId

圈组频道ID

@property (nonatomic, assign) unsigned long long channelId

Discussion

圈组频道ID

Declared In

NIMQChatGetMessageHistoryParam.h

  fromTime

起始时间

@property (nonatomic, assign) NSTimeInterval fromTime

Discussion

起始时间

Declared In

NIMQChatGetMessageHistoryParam.h

  toTime

结束时间 - NSTimeInterval

@property (nonatomic, copy) NSNumber *toTime

Discussion

结束时间 - NSTimeInterval

Declared In

NIMQChatGetMessageHistoryParam.h

  excludeMsgId

需要排除的消息服务端ID - unsigned long long 如果fromTime上有多条消息,可以通过excludeMsgId来指定实际的起始消息为excludeMsgId对应的消息的下一条

@property (nonatomic, copy) NSNumber *excludeMsgId

Discussion

需要排除的消息服务端ID - unsigned long long 如果fromTime上有多条消息,可以通过excludeMsgId来指定实际的起始消息为excludeMsgId对应的消息的下一条

Declared In

NIMQChatGetMessageHistoryParam.h

  limit

条数限制 - NSInteger

@property (nonatomic, copy) NSNumber *limit

Discussion

条数限制 - NSInteger

Declared In

NIMQChatGetMessageHistoryParam.h

  reverse

是否反向 - BOOL

@property (nonatomic, copy) NSNumber *reverse

Discussion

是否反向 - BOOL

Declared In

NIMQChatGetMessageHistoryParam.h