MessageSearchOptions class

Constructors

MessageSearchOptions.new({required List<MessageType> types, String? from, int ts = -1, int count = 10, EMSearchDirection direction = EMSearchDirection.Up})
const

Properties

count int
~english The number of messages to load, max 400. ~end ~chinese 获取的消息条数。最大为400。 ~end
final
direction EMSearchDirection
~english The message search direction. ~end ~chinese 消息搜索方向。 ~end
final
from String?
~english The message sender. ~end ~chinese 消息发送方。 ~end
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ts int
~english The message timestamp threshold for loading. ~end ~chinese 参考时间戳。 ~end
final
types List<MessageType>
~english Message types list ~end ~chinese 消息类型列表 ~end
final

Methods

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

Operators

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