Weekly Do Not Disturb preference. Return type of getWeeklyDoNotDisturb() and setWeeklyDoNotDisturb().

interface DndSchedulePreference {
    dndSchedules?: DndSchedule;
    doNotDisturbOn: boolean;
    timezone?: string;
}

Properties

dndSchedules?: DndSchedule

DND time windows per day. Omitted when not set.

doNotDisturbOn: boolean
timezone?: string

IANA timezone (e.g. 'Asia/Seoul').