modifyMessage method

  1. @override
Future<V2TimValueCallback<V2TimMessageChangeInfo>> modifyMessage({
  1. required V2TimMessage message,
})
override

Implementation

@override
Future<V2TimValueCallback<V2TimMessageChangeInfo>> modifyMessage({
  required V2TimMessage message,
}) async {
  Map<String, dynamic> param = {
    "message": message.toJson(),
  };
  var resp = V2TimValueCallback<V2TimMessageChangeInfo>.fromJson(formatJson(await _channel.invokeMethod('modifyMessage', buildMessageMangerParam(param))));
  log("modifyMessage", param, resp.toLogString());
  return resp;
}