ChatMessage class

message model for chatKit

Constructors

ChatMessage(NIMMessage nimMessage, {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
no setter
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

Constants

keyAitMsg → const String
keyImageType → const String
keyMultiLineBody → const String
keyMultiLineTitle → const String
换行消息的key
keyReplyMsgKey → const String
回复消息的key
keyRevokeMsg → const String
是否未撤回消息
keyRevokeMsgContent → const String
撤回消息的显示内容,包括文案和回复消息的内容