libtd-ktx / kotlinx.telegram.coroutines / getRecoveryEmailAddress
getRecoveryEmailAddress
suspend fun TelegramFlow.getRecoveryEmailAddress(password: String?): RecoveryEmailAddress
Suspend function, which returns a 2-step verification recovery email address that was previously set up. This method can be used to verify a password provided by the user.
Parameters
password - The password for the current user.
Return RecoveryEmailAddress Contains information about the current recovery email address.