Sha256: 1c94029f26cdc59ce6831d4eb6fe9eec5fc34e6bdcc742f3836b9b56f334268b

Contents?: true

Size: 370 Bytes

Versions: 2

Compression:

Stored size: 370 Bytes

Contents

module TD::Types
  # Represents a single rule for managing privacy settings.
  class UserPrivacySettingRule < Base
    %w[
      allow_all
      allow_contacts
      allow_users
      restrict_all
      restrict_contacts
      restrict_users
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/user_privacy_setting_rule/#{type}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-ruby-2.1.0 lib/tdlib/types/user_privacy_setting_rule.rb
tdlib-ruby-2.0.0 lib/tdlib/types/user_privacy_setting_rule.rb