code: def list(self, teamId=None, rType=None, maxResults=C.MAX_RESULT_DEFAULT, limit=C.ALL):
      
      queryParams = {'teamId': teamId,
              'type': rType,
              'max': maxResults}
      queryParams = self.clean_query_Dict(queryParams)
      ret = self.send_request(C.GET, self.end, data=queryParams, limit=limit)
      return [Room(self.token, roomData) for roomData in ret['items']]
docs: rType can be DIRECT or GROUP