libtd-ktx / kotlinx.telegram.coroutines / recoverAuthenticationPassword
recoverAuthenticationPassword
suspend fun
TelegramFlow
.recoverAuthenticationPassword(recoveryCode:
String
?):
Unit
Suspend function, which recovers the password with a password recovery code sent to an email address that was previously set up. Works only when the current authorization state is authorizationStateWaitPassword.
Parameters
recoveryCode
- Recovery code to check.