NIMMessage constructor
NIMMessage(- {String? messageId,
- String? sessionId,
- NIMSessionType? sessionType,
- required NIMMessageType messageType,
- int? messageSubType,
- NIMMessageStatus? status,
- required NIMMessageDirection messageDirection,
- String? fromAccount,
- String? content,
- required int timestamp,
- NIMMessageAttachment? messageAttachment,
- NIMMessageAttachmentStatus? attachmentStatus,
- String? uuid,
- int? serverId,
- NIMCustomMessageConfig? config,
- Map<String, dynamic>? remoteExtension,
- Map<String, dynamic>? localExtension,
- String? callbackExtension,
- Map<String, dynamic>? pushPayload,
- String? pushContent,
- NIMMemberPushOption? memberPushOption,
- NIMClientType? senderClientType,
- NIMAntiSpamOption? antiSpamOption,
- bool messageAck = false,
- bool hasSendAck = false,
- int ackCount = 0,
- int unAckCount = 0,
- bool clientAntiSpam = false,
- bool isInBlackList = false,
- bool isChecked = false,
- bool sessionUpdate = true,
- NIMMessageThreadOption? messageThreadOption,
- bool isDeleted = false,
- Map<String, dynamic>? yidunAntiCheating,
- String? env,
- String? fromNickname,
- bool? isRemoteRead,
- String? yidunAntiSpamExt,
- String? yidunAntiSpamRes,
- NIMMessageRobotInfo? robotInfo}
)
Implementation
NIMMessage