channelGroup
Create a handle to a ChannelGroup that can be used to obtain a Subscription.
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 channel group is required.
The returned ChannelGroup holds a reference to this PubNub instance internally.
Return
a ChannelGroup instance representing the channel group with the given name
Parameters
name
the name of the channel group to return. See more in the documentation