unsubscribe
unsubscribe
- unsubscribe(
channels):Promise<void>
List of channels from which you want to unsubscribe.
Parameters
channels
The channels to unsubscribe from, either in the form of a string (for one channel) or an array of strings.
Returns
Promise<void>