public static class TdApi.SendPhoneNumberCode extends TdApi.Function<TdApi.AuthenticationCodeInfo>
Returns AuthenticationCodeInfo
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
phoneNumber
The phone number, in international format.
|
TdApi.PhoneNumberAuthenticationSettings |
settings
Settings for the authentication of the user's phone number; pass null to use default settings.
|
TdApi.PhoneNumberCodeType |
type
Type of the request for which the code is sent.
|
| Constructor and Description |
|---|
SendPhoneNumberCode()
Default constructor for a function, which sends a code to the specified phone number.
|
SendPhoneNumberCode(java.lang.String phoneNumber,
TdApi.PhoneNumberAuthenticationSettings settings,
TdApi.PhoneNumberCodeType type)
Creates a function, which sends a code to the specified phone number.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String phoneNumber
public TdApi.PhoneNumberAuthenticationSettings settings
public TdApi.PhoneNumberCodeType type
public static final int CONSTRUCTOR
public SendPhoneNumberCode()
Returns AuthenticationCodeInfo
public SendPhoneNumberCode(java.lang.String phoneNumber,
TdApi.PhoneNumberAuthenticationSettings settings,
TdApi.PhoneNumberCodeType type)
Returns AuthenticationCodeInfo
phoneNumber - The phone number, in international format.settings - Settings for the authentication of the user's phone number; pass null to use default settings.type - Type of the request for which the code is sent.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object