SetAuthenticationPhoneNumber constructor

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

Sets the phone number of the user and sends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitPhoneNumber,

Returns Ok

Implementation

SetAuthenticationPhoneNumber