@since: BuddyPress 2.7.0 $group_type parameter also accepts an array of group types now.
Description
bp_groups_set_group_type()

Set type for a group.

Source: bp-groups/bp-groups-functions.php:3044