checkAuthenticationPassword - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / checkAuthenticationPassword

checkAuthenticationPassword

suspend fun TelegramFlow.checkAuthenticationPassword(password: String?): Unit

Suspend function, which checks the authentication password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.

Parameters

password - The password to check.