channelMetadata
Create a handle to a ChannelMetadata object that can be used to obtain a Subscription to metadata events.
The function is cheap to call, and the returned object is lightweight, as it doesn't change any client or server state. It is therefore permitted to use this method whenever a representation of a metadata channel is required.
The returned ChannelMetadata holds a reference to this PubNub instance internally.
Return
a ChannelMetadata instance representing the channel metadata with the given id
Parameters
id
the id of the channel metadata to return. See more in the documentation