MadelineProto/docs/TD_docs/methods/checkAuthPassword.md

23 lines
661 B
Markdown

---
title: checkAuthPassword
description: Checks password for correctness. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
---
## Method: checkAuthPassword
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Checks password for correctness. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
### Parameters:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|password|[CLICK ME string](../types/string.md) | Yes|Password to check|
### Return type: [AuthState](../types/AuthState.md)