QChatMessage constructor

QChatMessage({
  1. required int qChatChannelId,
  2. required int qChatServerId,
  3. int? subType,
  4. int? serverStatus,
  5. bool? pushEnable,
  6. String? pushContent,
  7. bool? needPushNick,
  8. bool? needBadge,
  9. List<int>? mentionedRoleIdList,
  10. bool? mentionedAll,
  11. List<String>? mentionedAccidList,
  12. bool? historyEnable,
  13. String? env,
  14. QChatMessageAntiSpamOption? antiSpamOption,
  15. String? uuid,
  16. int? updateTime,
  17. int? time,
  18. String? content,
  19. NIMMessageAttachment? attachment,
  20. bool? resend,
  21. QChatMessageAntiSpamResult? antiSpamResult,
  22. NIMMessageAttachmentStatus? attachStatus,
  23. String? callbackExtension,
  24. NIMMessageDirection? direct,
  25. String? fromAccount,
  26. int? fromClientType,
  27. String? fromNick,
  28. Map<String, dynamic>? localExtension,
  29. int? msgIdServer,
  30. NIMMessageType? msgType,
  31. Map<String, dynamic>? pushPayload,
  32. Map<String, dynamic>? remoteExtension,
  33. QChatMessageRefer? replyRefer,
  34. bool? rootThread,
  35. bool? routeEnable,
  36. NIMMessageStatus? status,
  37. QChatMessageRefer? threadRefer,
  38. QChatMsgUpdateContent? updateContent,
  39. QChatMsgUpdateInfo? updateOperatorInfo,
})

Implementation

QChatMessage(
    {required this.qChatChannelId,
    required this.qChatServerId,
    this.subType,
    this.serverStatus,
    this.pushEnable,
    this.pushContent,
    this.needPushNick,
    this.needBadge,
    this.mentionedRoleIdList,
    this.mentionedAll,
    this.mentionedAccidList,
    this.historyEnable,
    this.env,
    this.antiSpamOption,
    this.uuid,
    this.updateTime,
    this.time,
    this.content,
    this.attachment,
    this.resend,
    this.antiSpamResult,
    this.attachStatus,
    this.callbackExtension,
    this.direct,
    this.fromAccount,
    this.fromClientType,
    this.fromNick,
    this.localExtension,
    this.msgIdServer,
    this.msgType,
    this.pushPayload,
    this.remoteExtension,
    this.replyRefer,
    this.rootThread,
    this.routeEnable,
    this.status,
    this.threadRefer,
    this.updateContent,
    this.updateOperatorInfo});