diff --git a/src/PubNub/Endpoints/Objects/Channel/SetChannelMetadata.php b/src/PubNub/Endpoints/Objects/Channel/SetChannelMetadata.php index ad27625..c08265e 100644 --- a/src/PubNub/Endpoints/Objects/Channel/SetChannelMetadata.php +++ b/src/PubNub/Endpoints/Objects/Channel/SetChannelMetadata.php @@ -76,6 +76,16 @@ public function setCustom($custom): self return $this; } + /** + * @param string $type + * @return $this + */ + public function setType($type): self + { + $this->meta['type'] = $type; + return $this; + } + /** * @throws PubNubValidationException */