api.getRecoveryEmailAddress()
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
GetRecoveryEmailAddressParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
password | string | The password for the current user |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'getRecoveryEmailAddress' | 'error'
airgram: Airgram
request: {
method: 'getRecoveryEmailAddress'
params: GetRecoveryEmailAddressParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}