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