createGroup method
Create a custom group
Create a custom
type group. #### Permission Must have create_custom_group
permission. Minimum server version: 6.3
Parameters:
- MmCreateGroupRequest mmCreateGroupRequest (required): Group object and initial members.
Implementation
Future<void> createGroup(
MmCreateGroupRequest mmCreateGroupRequest,
) async {
final response = await createGroupWithHttpInfo(
mmCreateGroupRequest,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
}
}