Browser SDK
Build voice, video and chat applications for the browser
v3
Deprecated
channels
Promise<void>
List of channels from which you want to unsubscribe.
The channels to unsubscribe from, either in the form of a string (for one channel) or an array of strings.
1await pubSub.unsubscribe("my-channel");2await pubSub.unsubscribe(["chan-2", "chan-3"]);