--- 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 ### Parameters: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |code|[CLICK ME string](../types/string.md) | Yes|Verification code from SMS, phone call or flash call| ### Return type: [AuthState](../types/AuthState.md)