awaitSetSnoozePeriod

suspend fun SendbirdChat.awaitSetSnoozePeriod(snoozeOn: Boolean, startTs: Long, endTs: Long)

Sets snooze period for the current User. If this option is enabled, the current User does not receive push notification during the given period. It's not a repetitive operation. If you want to snooze repeatedly, use awaitSetDoNotDisturb.

Since

4.17.0

Parameters

snoozeOn

Enables option or not.

startTs

Start timestamp of snooze period

endTs

End timestamp of snooze period


suspend fun SendbirdChat.HMS.awaitSetSnoozePeriod(snoozeOn: Boolean, startTs: Long, endTs: Long)

Sets snooze period for the current User. If this option is enabled, the current User does not receive push notification during the given period. It's not a repetitive operation. If you want to snooze repeatedly, use awaitSetSnoozePeriod.

Since

4.17.0

Parameters

snoozeOn

Enables option or not.

startTs

Start timestamp of snooze period

endTs

End timestamp of snooze period