Skip to content

changePhoneNumber

Sahri Riza Umami edited this page Dec 6, 2016 · 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.

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

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally