ChatThread class
~english The message thread class. ~end
~chinese 子区详情类。 ~end
Constructors
- ChatThread.fromJson(Map map)
-
factory
Properties
- createAt → int
-
~english
The Unix timestamp when the message thread is created. The unit is millisecond.
~end
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastMessage → ChatMessage?
-
~english
The last reply in the message thread. If it is empty, the last message is withdrawn.
~end
final
- membersCount → int
-
~english
The count of members in the message thread.
~end
final
- messageCount → int
-
~english
The count of messages in the message thread.
~end
final
- messageId → String
-
~english
The ID of the parent message of the message thread.
~end
final
- owner → String?
-
~english
The creator of the message thread.
~end
final
- parentId → String
-
~english
The group ID where the message thread belongs.
~end
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- threadId → String
-
~english
The message thread ID.
~end
final
- threadName → String?
-
~english
The name of the message thread.
~end
final
Methods
-
copyWith(
{String? threadId, String? threadName, String? owner, String? messageId, String? parentId, int? membersCount, int? messageCount, int? createAt, ChatMessage? lastMessage}) → ChatThread -
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