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