QChatSearchMsgByPageParam class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
QChatSearchMsgByPageParam({required int serverId, required List<
NIMMessageType> msgTypes, int? channelId, int? limit, int? fromTime, int? toTime, QChatMessageSearchSortEnum? sort, String? fromAccount, String? keyword, String? cursor, bool? isIncludeSelf, bool? order, List<int> ? subTypes}) -
QChatSearchMsgByPageParam.fromJson(Map<
String, dynamic> json) -
factory
Properties
- channelId ↔ int?
-
频道ID
getter/setter pair
- cursor ↔ String?
-
查询游标,下次查询的起始位置,第一页设置为null,查询下一页是传入上一页返回的cursor
getter/setter pair
- fromAccount ↔ String?
-
消息发送者accid
getter/setter pair
- fromTime ↔ int?
-
查询时间范围的开始时间
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isIncludeSelf ↔ bool?
-
是否包含自己的消息
getter/setter pair
- keyword ↔ String?
-
检索关键字,目标检索消息名称
getter/setter pair
- limit ↔ int?
-
检索返回的最大记录数,最大和默认都是100
getter/setter pair
-
msgTypes
→ List<
NIMMessageType> -
搜索的消息类型列表,目前仅支持 NIMMessageType.text,NIMMessageType.image,NIMMessageType.video,NIMMessageType.file
final
- order ↔ bool?
-
排序规则 true:正序;false:倒序(默认)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverId → int
-
服务器ID
final
- sort ↔ QChatMessageSearchSortEnum?
-
排序条件
getter/setter pair
-
subTypes
↔ List<
int> ? -
搜索的消息子类型列表
getter/setter pair
- toTime ↔ int?
-
查询时间范围的结束时间,要求比开始时间大
getter/setter pair
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