createConversationGroup method

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

Implementation

@override
Future<V2TimValueCallback<List<V2TimConversationOperationResult>>> createConversationGroup({
  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(
    'createConversationGroup',
    buildConversationManagerParam(
      param,
    ),
  )));
  log("createConversationGroup", param, resp.toLogString());
  return resp;
}