public function channel($tag)
    {
        if ($this->channels === null) {
            $this->getChannelSubscriptions();
        }

        if ($this->myChannels === null) {
            $this->getMyChannels();
        }

        foreach ($this->myChannels as $c) {
            if ($tag == $c->tag) {
                $c->myChannel = true;

                return $c;
            }
        }

        foreach ($this->channels as $c) {
            if ($tag == $c->channel->tag) {
                return $c;
            }
        }

        return new Channel(["tag" => $tag], $this->apiKey);
    }