Skip to content

changePhoneNumber

Sahri Riza Umami edited this page Sep 10, 2017 · 3 revisions

Changes user's phone number and sends authentication code to the new user's phone number.
Returns authStateWaitCode with information about sent code on success

changePhoneNumber(phone_number, allow_flash_call, is_current_phone_number)
Field Type Description
phone_number string New user's phone number in any reasonable format
allow_flash_call Bool Pass True, if code can be sent via flash call to the specified phone number
is_current_phone_number Bool Pass true, if the phone number is used on the current device. Ignored if allow_flash_call is False

Frequently Asked Questions
The Functions

Clone this wiki locally