createMergerMessage method
Future<V2TimValueCallback<V2TimMsgCreateInfoResult> >
createMergerMessage({
- required List<
String> msgIDList, - required String title,
- required List<
String> abstractList, - required String compatibleText,
- List<
String> ? webMessageInstanceList,
override
Implementation
@override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createMergerMessage({
required List<String> msgIDList,
required String title,
required List<String> abstractList,
required String compatibleText,
List<String>? webMessageInstanceList,
}) async {
Map<String, dynamic> param = {
"msgIDList": msgIDList,
"title": title,
"abstractList": abstractList, // 截取前30个字符
"compatibleText": compatibleText,
};
var resp = V2TimValueCallback<V2TimMsgCreateInfoResult>.fromJson(
formatJson(
await _channel.invokeMethod(
'createMergerMessage',
buildMessageMangerParam(
param,
),
),
),
);
log("createMergerMessage", param, resp.toLogString());
return resp;
}