V2TIMMessageListGetOption class
Constructors
- V2TIMMessageListGetOption({int? getType, String? userID, String? groupID, int? count, V2TimMessage? lastMsg, int? getTimeBegin, int? getTimePeriod})
Properties
- count ↔ int?
-
拉取消息数量
getter/setter pair
- getTimeBegin ↔ int?
-
拉取消息的时间范围
getter/setter pair
- getTimePeriod ↔ int?
-
拉取消息的时间范围
getter/setter pair
- getType ↔ int?
-
拉取消息类型,可以设置拉取本地、云端更老或者更新的消息。
getter/setter pair
- groupID ↔ String?
-
拉取群组历史消息
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastMsg ↔ V2TimMessage?
-
拉取消息的起始消息
@note 请注意
getter/setter pair
- lastMsgSeq ↔ int?
-
拉取群消息的起始 sequence。
getter/setter pair
-
messageSeqList
↔ List<
int> -
拉取群组历史消息时,支持按照消息序列号 seq 拉取
getter/setter pair
-
messageTypeList
↔ List<
int> -
拉取的消息类型集合,getType 为 V2TIM_GET_LOCAL_OLDER_MSG 和 V2TIM_GET_LOCAL_NEWER_MSG 有效,传空列表表示拉取全部类型消息,取值详见 MessageElemType
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userID ↔ String?
-
拉取单聊历史消息
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