23 lines
637 B
Markdown
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)
|
|
|