deleteConversationsFromGroup method

  1. @override
Future<V2TimValueCallback<List<V2TimConversationOperationResult>>> deleteConversationsFromGroup({
  1. required String groupName,
  2. required List<String> conversationIDList,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimConversationOperationResult>>> deleteConversationsFromGroup({
  required String groupName,
  required List<String> conversationIDList,
}) async {
  Map<String, dynamic> param = {
    "groupName": groupName,
    "conversationIDList": conversationIDList,
  };
  var resp = V2TimValueCallback<List<V2TimConversationOperationResult>>.fromJson(formatJson(await _channel.invokeMethod(
    'deleteConversationsFromGroup',
    buildConversationManagerParam(
      param,
    ),
  )));
  log("deleteConversationsFromGroup", param, resp.toLogString());
  return resp;
}