TeamSpeak3/Node/Server.php
public function channelDelete($cid, $force = false)
    {
        $this->execute("channeldelete", array("cid" => $cid, "force" => $force));
        $this->channelListReset();

        if (($cid instanceof AbstractNode ? $cid->getId() : $cid) == $this->whoamiGet(
                "client_channel_id"
            )
        ) {
            $this->getParent()->whoamiReset();
        }
    }
public function channelDelete($cid, $force = false)
    {
        $this->execute("channeldelete", array("cid" => $cid, "force" => $force));
        $this->channelListReset();

        if (($cid instanceof AbstractNode ? $cid->getId() : $cid) == $this->whoamiGet(
                "client_channel_id"
            )
        ) {
            $this->getParent()->whoamiReset();
        }
    }
Deletes the channel specified by $cid.

@param  integer $cid
@param  boolean $force
@return void