24 lines
714 B
Markdown
24 lines
714 B
Markdown
---
|
|
title: checkChangePhoneNumberCode
|
|
description: Checks authentication code sent to change user's phone number. Returns authStateOk on success
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# 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
|
|
|
|
### Parameters:
|
|
|
|
| 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)
|
|
|