An interface for editing scoped subscription list membership.
Example
const contact = await sdk.contact()
const editor = await contact.subscriptions.edit()
editor.subscribe("cool_list", "app")
editor.unsubscribe("uncool_list", "web")
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