Sha256: 06f73b03783fa24c5ca5ab8d29b59e1113eae489aba5bc22890895c1a87666fd

Contents?: true

Size: 903 Bytes

Versions: 3

Compression:

Stored size: 903 Bytes

Contents

module TD::Types
  # Contains settings for the authentication of the user's phone number.
  #
  # @attr allow_flash_call [Boolean] Pass true if the authentication code may be sent via flash call to the specified
  #   phone number.
  # @attr is_current_phone_number [Boolean] Pass true if the authenticated phone number is used on the current device.
  # @attr 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 https://developers.google.com/identity/sms-retriever/ for more details.
  class PhoneNumberAuthenticationSettings < Base
    attribute :allow_flash_call, TD::Types::Bool
    attribute :is_current_phone_number, TD::Types::Bool
    attribute :allow_sms_retriever_api, TD::Types::Bool
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/phone_number_authentication_settings.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/phone_number_authentication_settings.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/phone_number_authentication_settings.rb