Class: TD::Types::PhoneNumberAuthenticationSettings
- Defined in:
- lib/tdlib/types/phone_number_authentication_settings.rb
Overview
Contains settings for the authentication of the user’s phone number.
Instance Attribute Summary collapse
-
#allow_flash_call ⇒ Boolean
Pass true if the authentication code may be sent via flash call to the specified phone number.
-
#allow_sms_retriever_api ⇒ Boolean
For official applications only.
-
#is_current_phone_number ⇒ Boolean
Pass true if the authenticated phone number is used on the current device.
Method Summary
Methods inherited from Base
Instance Attribute Details
#allow_flash_call ⇒ Boolean
Pass true if the authentication code may be sent via flash call to the specified phone number.
11 12 13 |
# File 'lib/tdlib/types/phone_number_authentication_settings.rb', line 11 def allow_flash_call @allow_flash_call end |
#allow_sms_retriever_api ⇒ Boolean
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 developers.google.com/identity/sms-retriever/ for more details.
11 12 13 |
# File 'lib/tdlib/types/phone_number_authentication_settings.rb', line 11 def allow_sms_retriever_api @allow_sms_retriever_api end |
#is_current_phone_number ⇒ Boolean
Pass true if the authenticated phone number is used on the current device.
11 12 13 |
# File 'lib/tdlib/types/phone_number_authentication_settings.rb', line 11 def is_current_phone_number @is_current_phone_number end |