Sha256: 5f8a81eca5fbaf5322535cb0fbd7614d349b371189b280a74758773aa784613f

Contents?: true

Size: 513 Bytes

Versions: 1

Compression:

Stored size: 513 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] Mininum 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

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.0.0 lib/tdlib/types/terms_of_service.rb