ChangePhoneNumber constructor

ChangePhoneNumber(
  1. {required String phone_number,
  2. PhoneNumberAuthenticationSettings? settings,
  3. int? extra,
  4. int? clientId}
)

Changes the phone number of the user and sends an authentication code to the user's new phone number; for official Android and iOS applications only. On success, returns information about the sent code

Returns AuthenticationCodeInfo

Implementation

ChangePhoneNumber