code: def groups_delete(self, room_id=None, group=None, **kwargs):
          
          if room_id:
              return self.__call_api_post('groups.delete', roomId=room_id, kwargs=kwargs)
          elif group:
              return self.__call_api_post('groups.delete', roomName=group, kwargs=kwargs)
          else:
              raise RocketMissingParamException('roomId or group required')
docs: Delete a private group.