Sha256: 884b1de3c02a4fb0583fa27f65638c360745009ad0c4dc0eb1549349d464a45e

Contents?: true

Size: 528 Bytes

Versions: 4

Compression:

Stored size: 528 Bytes

Contents

module TD::Types
  # New terms of service must be accepted by the user.
  # If the terms of service are declined, then the deleteAccount method should be called with the reason "Decline ToS
  #   update".
  #
  # @attr terms_of_service_id [String] Identifier of the terms of service.
  # @attr terms_of_service [TD::Types::TermsOfService] The new terms of service.
  class Update::TermsOfService < Update
    attribute :terms_of_service_id, TD::Types::String
    attribute :terms_of_service, TD::Types::TermsOfService
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

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