Sha256: 3f10277b351c0793283d0f65c1cb6f7ef4008875c0af40e3dd1327d4c4a96d99

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

module TD::Types
  # Contains Telegram terms of service.
  #
  # @attr text [TD::Types::FormattedText] Text of the terms of service.
  # @attr min_user_age [Integer] The minimum age of a user to be able to accept the terms; 0 if any.
  # @attr show_popup [Boolean] True, if a blocking popup with terms of service must be shown to the user.
  class TermsOfService < Base
    attribute :text, TD::Types::FormattedText
    attribute :min_user_age, TD::Types::Integer
    attribute :show_popup, TD::Types::Bool
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

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