createGroup method

Future<void> createGroup(
  1. MmCreateGroupRequest mmCreateGroupRequest
)

Create a custom group

Create a custom type group. #### Permission Must have create_custom_group permission. Minimum server version: 6.3

Parameters:

Implementation

Future<void> createGroup(
  MmCreateGroupRequest mmCreateGroupRequest,
) async {
  final response = await createGroupWithHttpInfo(
    mmCreateGroupRequest,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}