code: def rooms_favorite(self, room_id=None, room_name=None, favorite=True):
          
          if room_id is not None:
              return self.__call_api_post('rooms.favorite', roomId=room_id, favorite=favorite)
          elif room_name is not None:
              return self.__call_api_post('rooms.favorite', roomName=room_name, favorite=favorite)
          else:
              raise RocketMissingParamException('roomId or roomName required')
docs: Favorite or unfavorite room.