QChatSendMessageParam(- {required int channelId,
- required int serverId,
- required NIMMessageType type,
- Map<String, dynamic>? extension,
- QChatMessageAntiSpamOption? antiSpamOption,
- String? attach,
- String? body,
- String? env,
- bool historyEnable = true,
- bool isRouteEnable = true,
- List<String>? mentionedAccidList,
- bool mentionedAll = false,
- List<int>? mentionedRoleIdList,
- bool needBadge = true,
- bool needPushNick = true,
- String? pushContent,
- bool pushEnable = true,
- Map<String, dynamic>? pushPayload,
- 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});