libtd-ktx / kotlinx.telegram.coroutines / recoverPassword
recoverPassword
suspend fun TelegramFlow.recoverPassword(recoveryCode: String?): PasswordState
Suspend function, which recovers the password using a recovery code sent to an email address that was previously set up.
Parameters
recoveryCode - Recovery code to check.
Return PasswordState Represents the current state of 2-step verification.