QChatSendMessageParam constructor

QChatSendMessageParam({
  1. required int channelId,
  2. required int serverId,
  3. required NIMMessageType type,
  4. Map<String, dynamic>? extension,
  5. QChatMessageAntiSpamOption? antiSpamOption,
  6. String? attach,
  7. String? body,
  8. String? env,
  9. bool historyEnable = true,
  10. bool isRouteEnable = true,
  11. List<String>? mentionedAccidList,
  12. bool mentionedAll = false,
  13. List<int>? mentionedRoleIdList,
  14. bool needBadge = true,
  15. bool needPushNick = true,
  16. String? pushContent,
  17. bool pushEnable = true,
  18. Map<String, dynamic>? pushPayload,
  19. int? subType,
})

Implementation

QChatSendMessageParam(
    {required this.channelId,
    required this.serverId,
    required this.type,
    this.extension,
    this.antiSpamOption,
    this.attach,
    this.body,
    this.env,
    this.historyEnable = true,
    this.isRouteEnable = true,
    this.mentionedAccidList,
    this.mentionedAll = false,
    this.mentionedRoleIdList,
    this.needBadge = true,
    this.needPushNick = true,
    this.pushContent,
    this.pushEnable = true,
    this.pushPayload,
    this.subType});