ChatMessage class

message model for chatKit

Constructors

ChatMessage(NIMMessage nimMessage, {bool isRevoke = false, NIMMessagePin? pinOption, NIMMessage? replyMsg})

Properties

ackCount int
getter/setter pair
fromUser ↔ NIMUser?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
isRevoke bool
getter/setter pair
nimMessage ↔ NIMMessage
getter/setter pair
pinOption ↔ NIMMessagePin?
getter/setter pair
replyMsg ↔ NIMMessage?
only for send case 仅用于发送时存储,方便重发时使用,不可用于展示
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unAckCount int
getter/setter pair

Methods

getNickName() String
getPinAccId() String?
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.
override