NotificationPreference
Notification preference NotificationPreference
export interface NotificationPreference {
'channel'?: string;
'enabled'?: boolean;
'value'?: string;
'visible'?: boolean;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
channel | Optional | string | preference channel {string} NotificationPreference |
enabled | Optional | boolean | if true, the channel is on; if false, the channel is off {boolean} NotificationPreference |
value | Optional | string | the corresponding value of current channel, for example, for SMS it should be a mobile number; for email it should be an email address {string} NotificationPreference |
visible | Optional | boolean | if true, the channel is visible; if false, the channel is invisible {boolean} NotificationPreference |