public function update($name, $is_public, $is_archived, $is_guest_accessible, $topic, $owner_user_id)
    {
        $queryParams = array(
            'name' => $name,
            'privacy' => (($is_public === true) ? 'public' : 'private' ),
            'is_archived' => $is_archived,
            'is_guest_accessible' => $is_guest_accessible,
            'topic' => $topic,
            'owner' => array(
                'id' => $owner_user_id,
            ),
        );
        $room_id_or_name = $this->getId();

        $response = $this->request->put('room/'.$room_id_or_name.'', $queryParams);

        return $this->request->returnResponseObject($response);
    }
public function update($name, $is_public, $is_archived, $is_guest_accessible, $topic, $owner_user_id)
    {
        $queryParams = array(
            'name' => $name,
            'privacy' => (($is_public === true) ? 'public' : 'private' ),
            'is_archived' => $is_archived,
            'is_guest_accessible' => $is_guest_accessible,
            'topic' => $topic,
            'owner' => array(
                'id' => $owner_user_id,
            ),
        );
        $room_id_or_name = $this->getId();

        $response = $this->request->put('room/'.$room_id_or_name.'', $queryParams);

        return $this->request->returnResponseObject($response);
    }
public function update ( $ name , $ is_public , $ is_archived , $ is_guest_accessible , $ topic , $ owner_user_id ) { $ queryParams = array ( 'name' => $ name , 'privacy' => ( ( $ is_public === true ) ? 'public' : 'private' ) , 'is_archived' => $ is_archived , 'is_guest_accessible' => $ is_guest_accessible , 'topic' => $ topic , 'owner' => array ( 'id' => $ owner_user_id , ) , ) ; $ room_id_or_name = $ this -> getId ( ) ; $ response = $ this -> request -> put ( 'room/' . $ room_id_or_name . '' , $ queryParams ) ; return $ this -> request -> returnResponseObject ( $ response ) ; }
Update room
All values are required!

@param string $name
@param bool $is_public
@param bool $is_archived
@param bool $is_guest_accessible
@param string $topic
@param int|string $owner_user_id
Update room All values are required!