MadelineProto/docs/TD_docs/methods/checkChangePhoneNumberCode.md
2017-08-25 15:05:53 +02:00

23 lines
637 B
Markdown

---
title: checkChangePhoneNumberCode
description: Checks authentication code sent to change user's phone number. Returns authStateOk on success
---
## Method: checkChangePhoneNumberCode
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Checks authentication code sent to change user's phone number. Returns authStateOk on success
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|code|[string](../types/string.md) | Yes|Verification code from SMS, phone call or flash call|
### Return type: [AuthState](../types/AuthState.md)