PhoneNumberAuthenticationSettings¶
- class pyrogram.types.PhoneNumberAuthenticationSettings¶
Contains settings for the authentication of the user’s phone number.
- Parameters:
allow_flash_call (
bool, optional) – Pass True if the authentication code may be sent via a flash call to the specified phone number.allow_missed_call (
bool, optional) – Pass True if the authentication code may be sent via a missed call to the specified phone number.is_current_phone_number (
bool, optional) – Pass True if the authenticated phone number is used on the current device.has_unknown_phone_number (
bool, optional) – Pass True if there is a SIM card in the current device, but it is not possible to check whether phone number matches.allow_sms_retriever_api (
bool, optional) – 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.firebase_authentication_settings (
FirebaseAuthenticationSettings, optional) – For official Android and iOS applications only. Settings for Firebase Authentication.authentication_tokens (List of
bytes, optional) – List of up to 20 authentication tokens, recently received in previously logged out sessions.