NIMMessageSearchResult class

检索返回结果

Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

NIMMessageSearchResult({int? count, List<NIMMessageSearchItem>? items, String? nextPageToken, bool hasMore = false})
NIMMessageSearchResult.fromJson(Map<String, dynamic> json)
factory

Properties

count int?
满足检索条件的所有消息数量
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasMore bool
表示还有数据, false:表示没有数据
getter/setter pair
items List<NIMMessageSearchItem>?
单个会话的返回结果 如果查询会话id不会空, 则返回items会对应会话按指定条数检索出来的消息 如果会话id为空,则为每一个会话检索出来的内容
getter/setter pair
nextPageToken String?
下次请求的token
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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