NIMMessagePin class Null safety

消息PIN

Annotations
  • @JsonSerializable()

Constructors

NIMMessagePin({required String sessionId, required NIMSessionType sessionType, String? messageFromAccount, String? messageToAccount, String? messageUuid, String? messageId, String? pinId, int? messageServerId, String? pinOperatorAccount, String? pinExt, int pinCreateTime = 0, int pinUpdateTime = 0})
NIMMessagePin.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
messageFromAccount String?
消息发送方帐号
final
messageId String?
消息发送时间 消息ID,唯一标识,iOS 可用
@JsonKey(defaultValue: '-1'), final
messageServerId int?
消息 ServerID
final
messageToAccount String?
消息接收方账号
final
messageUuid String?
消息 uuid ,Android & Windows & macOS可用
final
pinCreateTime int
创建时间,单位为秒
final
pinExt String?
扩展字段,string,最大512
final
pinId String?
被pin的消息唯一标识,Windows&macOS可用
@JsonKey(defaultValue: '-1'), final
pinOperatorAccount String?
操作者账号,不传表示当前登录者
final
pinUpdateTime int
更新时间,单位为 秒
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sessionId String
会话ID
final
sessionType NIMSessionType
会话类型
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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