Alokai

NotificationPreference

Notification preference NotificationPreference

export interface NotificationPreference {
	'channel'?: string;
	'enabled'?: boolean;
	'value'?: string;
	'visible'?: boolean;
}

Properties

NameRequiredTypeDescription
channelOptionalstringpreference channel {string} NotificationPreference
enabledOptionalbooleanif true, the channel is on; if false, the channel is off {boolean} NotificationPreference
valueOptionalstringthe 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
visibleOptionalbooleanif true, the channel is visible; if false, the channel is invisible {boolean} NotificationPreference

On this page