payloadSchema
if provided.<Inbox/>
component. Subscribers can enable and disable any active channel in the workflow.
In the all
object, you can specify default preferences for all channels. The enabled
field on the all
object is used as fallback value if a channel is not specified explicitly in channels
.
The readOnly
field controls whether subscribers can change the delivery preference for a channel. Critical workflows are defined with { readOnly: true }
.
In the channels
object, you can specify In-App, SMS, Email, Chat, and Push channel preferences. Each channel takes an object with an optional enabled
flag that controls whether a notification delivery channel is enabled or disabled by default for subscribers.
enabled
is true
for all channels. The readOnly
flag is false
.