Class: TD::Types::UserPrivacySettingRules

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/user_privacy_setting_rules.rb

Overview

A list of privacy rules. Rules are matched in the specified order. The first matched rule defines the privacy setting for a given user. If no rule matches, the action is not allowed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#rulesArray<TD::Types::UserPrivacySettingRule>

A list of rules.

Returns:



8
9
10
# File 'lib/tdlib/types/user_privacy_setting_rules.rb', line 8

def rules
  @rules
end