Sha256: 4a3bc24b49ce613d01023229e02ddd3279064cb069d4c5321842950175897e9a

Contents?: true

Size: 895 Bytes

Versions: 2

Compression:

Stored size: 895 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 app 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

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/phone_number_authentication_settings.rb
tdlib-ruby-2.1.0 lib/tdlib/types/phone_number_authentication_settings.rb