mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 11:27:20 +01:00
23 lines
714 B
Markdown
23 lines
714 B
Markdown
---
|
|
title: recoverAuthPassword
|
|
description: Recovers password with recovery code sent to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
|
|
---
|
|
## Method: recoverAuthPassword
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Recovers password with recovery code sent to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|recovery\_code|[CLICK ME string](../types/string.md) | Yes|Recovery code to check|
|
|
|
|
|
|
### Return type: [AuthState](../types/AuthState.md)
|
|
|