public static class TdApi.PhoneNumberAuthenticationSettings extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
boolean |
allowFlashCall
Pass true if the authentication code may be sent via a flash call to the specified phone number.
|
boolean |
allowMissedCall
Pass true if the authentication code may be sent via a missed call to the specified phone number.
|
boolean |
allowSmsRetrieverApi
For official applications only.
|
java.lang.String[] |
authenticationTokens
List of up to 20 authentication tokens, recently received in updateOption("authentication_token") in previously logged out sessions.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isCurrentPhoneNumber
Pass true if the authenticated phone number is used on the current device.
|
Constructor and Description |
---|
PhoneNumberAuthenticationSettings()
Contains settings for the authentication of the user's phone number.
|
PhoneNumberAuthenticationSettings(boolean allowFlashCall,
boolean allowMissedCall,
boolean isCurrentPhoneNumber,
boolean allowSmsRetrieverApi,
java.lang.String[] authenticationTokens)
Contains settings for the authentication of the user's phone number.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public boolean allowFlashCall
public boolean allowMissedCall
public boolean isCurrentPhoneNumber
public boolean allowSmsRetrieverApi
public java.lang.String[] authenticationTokens
public static final int CONSTRUCTOR
public PhoneNumberAuthenticationSettings()
public PhoneNumberAuthenticationSettings(boolean allowFlashCall, boolean allowMissedCall, boolean isCurrentPhoneNumber, boolean allowSmsRetrieverApi, java.lang.String[] authenticationTokens)
allowFlashCall
- Pass true if the authentication code may be sent via a flash call to the specified phone number.allowMissedCall
- Pass true if the authentication code may be sent via a missed call to the specified phone number.isCurrentPhoneNumber
- Pass true if the authenticated phone number is used on the current device.allowSmsRetrieverApi
- For official applications only. True, if the application can use Android SMS Retriever API (requires Google Play Services >= 10.2) to automatically receive the authentication code from the SMS. See https://developers.google.com/identity/sms-retriever/ for more details.authenticationTokens
- List of up to 20 authentication tokens, recently received in updateOption("authentication_token") in previously logged out sessions.public int getConstructor()
getConstructor
in class TdApi.Object