public static class TdApi.SendPhoneNumberConfirmationCode 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 |
hash
Hash value from the link.
|
java.lang.String |
phoneNumber
Phone number value from the link.
|
TdApi.PhoneNumberAuthenticationSettings |
settings
Settings for the authentication of the user's phone number; pass null to use default settings.
|
Constructor and Description |
---|
SendPhoneNumberConfirmationCode()
Default constructor for a function, which sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation.
|
SendPhoneNumberConfirmationCode(java.lang.String hash,
java.lang.String phoneNumber,
TdApi.PhoneNumberAuthenticationSettings settings)
Creates a function, which sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String hash
public java.lang.String phoneNumber
public TdApi.PhoneNumberAuthenticationSettings settings
public static final int CONSTRUCTOR
public SendPhoneNumberConfirmationCode()
Returns AuthenticationCodeInfo
public SendPhoneNumberConfirmationCode(java.lang.String hash, java.lang.String phoneNumber, TdApi.PhoneNumberAuthenticationSettings settings)
Returns AuthenticationCodeInfo
hash
- Hash value from the link.phoneNumber
- Phone number value from the link.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