Sha256: ea0321e9bc9150881def56637bd7aa689fcde271067e759c831c5a8dc75a49bc

Contents?: true

Size: 707 Bytes

Versions: 1

Compression:

Stored size: 707 Bytes

Contents

module TD::Types
  # TDLib needs the user's authentication code to finalize authorization.
  #
  # @attr is_registered [Boolean] True, if the user is already registered.
  # @attr terms_of_service [TD::Types::TermsOfService, nil] Telegram terms of service, which should be accepted before
  #   user can continue registration; may be null.
  # @attr code_info [TD::Types::AuthenticationCodeInfo] Information about the authorization code that was sent.
  class AuthorizationState::WaitCode < AuthorizationState
    attribute :is_registered, TD::Types::Bool
    attribute :terms_of_service, TD::Types::TermsOfService.optional.default(nil)
    attribute :code_info, TD::Types::AuthenticationCodeInfo
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.0.0 lib/tdlib/types/authorization_state/wait_code.rb