getSnoozePeriod

fun SendbirdChat.getSnoozePeriod(handler: ResultHandler<SnoozePeriodResult>?)
fun SendbirdChat.HMS.getSnoozePeriod(handler: ResultHandler<SnoozePeriodResult>?)

Gets snooze period for the current User.

Since

4.15.0

Parameters

handler

Callback handler.


suspend fun SendbirdChat.getSnoozePeriod(): SnoozePeriodResult
suspend fun SendbirdChat.HMS.getSnoozePeriod(): SnoozePeriodResult

Deprecated

As of 4.17.0, replaced with awaitGetSnoozePeriod().

Replace with

awaitGetSnoozePeriod()

Gets snooze period for the current User.

Since

4.15.0