1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 15:26:54 +01:00
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)