createMerge method
Future<MsgModel>
createMerge({
- String senderInfo = "",
- required String convId,
- List<
String> atUsers = const [], - required MergeContent content,
- MsgOptionsModel? options,
- required MsgOfflinePushModel offlinePush,
- String ext = "",
创建合并消息
Implementation
Future<MsgModel> createMerge({
String senderInfo = "",
required String convId,
List<String> atUsers = const [],
required MergeContent content,
MsgOptionsModel? options,
required MsgOfflinePushModel offlinePush,
String ext = "",
}) {
return _sdkManager.createMsg(
senderInfo: senderInfo,
convId: convId,
atUsers: atUsers,
contentType: MsgContentType.merge,
content: content.toJson(),
options: options ??
MsgOptionsModel(
storageForServer: true,
storageForClient: true,
needDecrypt: false,
offlinePush: true,
updateConvMsg: true,
updateUnreadCount: true,
),
offlinePush: offlinePush,
ext: ext,
);
}