public static class TdApi.SendPhoneNumberVerificationCode 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 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 |
---|
SendPhoneNumberVerificationCode()
Default constructor for a function, which sends a code to verify a phone number to be added to a user's Telegram Passport.
|
SendPhoneNumberVerificationCode(java.lang.String phoneNumber,
TdApi.PhoneNumberAuthenticationSettings settings)
Creates a function, which sends a code to verify a phone number to be added to a user's Telegram Passport.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String phoneNumber
public TdApi.PhoneNumberAuthenticationSettings settings
public static final int CONSTRUCTOR
public SendPhoneNumberVerificationCode()
Returns AuthenticationCodeInfo
public SendPhoneNumberVerificationCode(java.lang.String phoneNumber, TdApi.PhoneNumberAuthenticationSettings settings)
Returns AuthenticationCodeInfo
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