code: public function channelGetByName($name)
      {
          foreach ($this->channelList() as $channel) {
              if ($channel["channel_name"] == $name) {
                  return $channel;
              }
          }
  
          throw new Ts3Exception("invalid channelID", 0x300);
      }
docs: Returns the Channel object matching the given name.
  
  @param  string $name
  @throws Ts3Exception
  @return Channel