Airgram

Guides
/
/
Input types

PhoneNumberAuthenticationSettingsInput

Contains settings for the authentication of the user's phone number.

This is an alias for the PhoneNumberAuthenticationSettingsInputUnion type.


NameTypeDescription
_"phoneNumberAuthenticationSettings"
allowFlashCallboolean Pass true if the authentication code may be sent via a flash call to the specified phone number
allowMissedCallboolean Pass true if the authentication code may be sent via a missed call to the specified phone number
isCurrentPhoneNumberboolean Pass true if the authenticated phone number is used on the current device
allowSmsRetrieverApiboolean 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
authenticationTokensstring[] List of up to 20 authentication tokens, recently received in updateOption("authentication_token") in previously logged out sessions