1 package com.netease.nimlib.sdk.qchat.model;
3 import java.io.Serializable;
12 private Long fromTime;
20 private Long excludeMessageId;
24 private Integer limit;
28 private Boolean reverse =
false;
44 this.fromTime = fromTime;
68 return excludeMessageId;
76 this.excludeMessageId = excludeMsgId;
108 this.reverse = reverse;
void setExcludeMessageId(Long excludeMsgId)
设置排除消息id
void setReverse(Boolean reverse)
设置是否反向
void setToTime(Long toTime)
设置结束时间
Long getExcludeMessageId()
获取排除消息id
void setLimit(Integer limit)
设置条数限制
void setFromTime(Long fromTime)
设置起始时间 如果要查最新的100条,则fromTime=0, toTime=0, limit=0, reverse=0