GetMessagesDynamicallyParam class

动态查询消息参数

Annotations
  • @JsonSerializable()

Constructors

GetMessagesDynamicallyParam(String sessionId, NIMSessionType sessionType, {int? fromTime, int? toTime, int? anchorServerId, String? anchorClientId, int? limit, NIMGetMessageDirection? direction})
GetMessagesDynamicallyParam.fromMap(Map<String, dynamic> map)
factory

Properties

anchorClientId String?
要排除的最后一条消息的客户端ID,用于翻页。 要从A页翻到B页时,传A页中最接近B页的消息
getter/setter pair
anchorServerId int?
要排除的最后一条消息的服务器ID,用于翻页。 要从A页翻到B页时,传A页中最接近B页的消息
getter/setter pair
direction NIMGetMessageDirection?
查询方向
getter/setter pair
fromTime int?
开始时间(时间戳小)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
limit int?
条数限制 限制0~100,否则414。其中0会被转化为100
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String
会话ID
getter/setter pair
sessionType NIMSessionType
会话类型
getter/setter pair
toTime int?
结束时间(时间戳大)
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited