Skip to content

recover password

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally