public function setTopic($topic)
    {
        $queryParams = array(
            'topic' => $topic,
        );
        $room_id_or_name = $this->getId();

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

        return $this->request->returnResponseObject($response);
    }
public function setTopic($topic)
    {
        $queryParams = array(
            'topic' => $topic,
        );
        $room_id_or_name = $this->getId();

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

        return $this->request->returnResponseObject($response);
    }
public function setTopic ( $ topic ) { $ queryParams = array ( 'topic' => $ topic , ) ; $ room_id_or_name = $ this -> getId ( ) ; $ response = $ this -> request -> put ( 'room/' . $ room_id_or_name . '/topic' , $ queryParams ) ; return $ this -> request -> returnResponseObject ( $ response ) ; }
Set room topic

@param string $topic
Set room topic