awaitSetWeeklyDoNotDisturb

suspend fun SendbirdChat.awaitSetWeeklyDoNotDisturb(schedules: Map<DayOfWeek, List<DndTimeWindow>>, timezone: TimeZone? = null)

Sets weekly Do-not-disturb schedules for the current User.

Since

4.35.0

Parameters

schedules

DND time windows per day of week.

timezone

Timezone for the schedules. If null, device default timezone is used.

See also

SendbirdChat.setWeeklyDoNotDisturb

suspend fun SendbirdChat.HMS.awaitSetWeeklyDoNotDisturb(schedules: Map<DayOfWeek, List<DndTimeWindow>>, timezone: TimeZone? = null)

Sets weekly Do-not-disturb schedules for the current User.

Since

4.35.0

Parameters

schedules

DND time windows per day of week.

timezone

Timezone for the schedules. If null, device default timezone is used.

See also

SendbirdChat.HMS.setWeeklyDoNotDisturb