createCustomMessage method
Implementation
@override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createCustomMessage({
required String data,
String desc = "",
String extension = "",
}) async {
Map<String, dynamic> param = {
"data": data,
"desc": desc,
"extension": extension,
};
var resp = V2TimValueCallback<V2TimMsgCreateInfoResult>.fromJson(
formatJson(
await _channel.invokeMethod(
"createCustomMessage",
buildMessageMangerParam(
param,
),
),
),
);
log("createCustomMessage", param, resp.toLogString());
return resp;
}