Skip to content

get recovery email address

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

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.

Clone this wiki locally