Sha256: 15cc6b7b5ad9adf64ba7c11d14851dc2174977985c685b41722f93e808da1d4a

Contents?: true

Size: 754 Bytes

Versions: 4

Compression:

Stored size: 754 Bytes

Contents

module TD::Types
  # Information about the authentication code that was sent.
  #
  # @attr phone_number [String] A phone number that is being authenticated.
  # @attr type [TD::Types::AuthenticationCodeType] Describes the way the code was sent to the user.
  # @attr next_type [TD::Types::AuthenticationCodeType, nil] Describes the way the next code will be sent to the user;
  #   may be null.
  # @attr timeout [Integer] Timeout before the code should be re-sent, in seconds.
  class AuthenticationCodeInfo < Base
    attribute :phone_number, TD::Types::String
    attribute :type, TD::Types::AuthenticationCodeType
    attribute :next_type, TD::Types::AuthenticationCodeType.optional.default(nil)
    attribute :timeout, TD::Types::Integer
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/authentication_code_info.rb
tdlib-ruby-2.2.0 lib/tdlib/types/authentication_code_info.rb
tdlib-ruby-2.1.0 lib/tdlib/types/authentication_code_info.rb
tdlib-ruby-2.0.0 lib/tdlib/types/authentication_code_info.rb