An interface for editing subscription list membership.
Example
const channel = await sdk.getChannel()
const editor = await channel.subscriptions.edit()
editor.subscribe("cool_list")
editor.unsubscribe("uncool_list")
await editor.apply()
Members
apply :Promise.<void>
Applies any previously queued changes.
Type:
-
Promise.<void>
subscribe :void
Queue a list subscribe operation.
Type:
-
void
unsubscribe :void
Queue a list unsubscribe operation.
Type:
-
void