code: public function subChannelGetById($cid)
      {
          if (!array_key_exists((string)$cid, $this->subChannelList())) {
              throw new TeamSpeak3_Adapter_ServerQuery_Exception("invalid channelID", 0x300);
          }
  
          return $this->channelList[(string)$cid];
      }
docs: Returns the Channel object matching the given ID.
  
  @param  integer $cid
  @throws TeamSpeak3_Adapter_ServerQuery_Exception
  @return Channel