setAlarm - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.coroutines / setAlarm

setAlarm

suspend fun TelegramFlow.setAlarm(seconds: Double): Unit

Suspend function, which succeeds after a specified amount of time has passed. Can be called before authorization. Can be called before initialization.

Parameters

seconds - Number of seconds before the function returns.