public static class TdApi.ChangePhoneNumber extends TdApi.Function
Returns AuthenticationCodeInfo
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
phoneNumber
The new phone number of the user in international format.
|
TdApi.PhoneNumberAuthenticationSettings |
settings
Settings for the authentication of the user's phone number.
|
Constructor and Description |
---|
ChangePhoneNumber()
Default constructor for a function, which changes the phone number of the user and sends an authentication code to the user's new phone number.
|
ChangePhoneNumber(java.lang.String phoneNumber,
TdApi.PhoneNumberAuthenticationSettings settings)
Creates a function, which changes the phone number of the user and sends an authentication code to the user's new phone number.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String phoneNumber
public TdApi.PhoneNumberAuthenticationSettings settings
public static final int CONSTRUCTOR
public ChangePhoneNumber()
Returns AuthenticationCodeInfo
public ChangePhoneNumber(java.lang.String phoneNumber, TdApi.PhoneNumberAuthenticationSettings settings)
Returns AuthenticationCodeInfo
phoneNumber
- The new phone number of the user in international format.settings
- Settings for the authentication of the user's phone number.public int getConstructor()
getConstructor
in class TdApi.Function