renameConversationGroup method

  1. @override
Future<V2TimCallback> renameConversationGroup({
  1. required String oldName,
  2. required String newName,
})
override

Implementation

@override
Future<V2TimCallback> renameConversationGroup({
  required String oldName,
  required String newName,
}) async {
  Map<String, dynamic> param = {
    "oldName": oldName,
    "newName": newName,
  };
  var resp = V2TimCallback.fromJson(formatJson(await _channel.invokeMethod(
    'renameConversationGroup',
    buildConversationManagerParam(
      param,
    ),
  )));
  log("renameConversationGroup", param, resp.toLogString());
  return resp;
}