Sha256: d4cb916cc99a8ae5a9638edfd75dafcd9517ebe914a21ab256f54f77edb5ddf3

Contents?: true

Size: 539 Bytes

Versions: 2

Compression:

Stored size: 539 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 [TD::Types::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

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/update/terms_of_service.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/update/terms_of_service.rb