ChatSearchServerMessageResult class
服务端消息搜索的结果类。
Constructors
- ChatSearchServerMessageResult.fromJson(Map map)
-
factory
Properties
-
attributes
↔ Map<
String, dynamic> ? -
消息扩展属性。
getter/setter pair
- body ↔ ChatMessageBody?
-
消息体。
getter/setter pair
- chatType ↔ ChatType
-
聊天类型,详见 ChatType。
getter/setter pair
- convId ↔ String
-
会话 ID。
getter/setter pair
- from ↔ String
-
消息发送方的用户 ID。
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
highlightTexts
↔ List<
String> ? -
搜索关键词命中的高亮文本。
getter/setter pair
- msgId ↔ String
-
消息 ID。
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp ↔ int
-
消息时间戳,单位为毫秒。
getter/setter pair
- to ↔ 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited