MadelineProto/docs/TD_docs/constructors/privacyRules.md
Daniil Gentili 8600a2fcba docufix
2017-09-29 15:50:59 +02:00

23 lines
706 B
Markdown

---
title: privacyRules
description: List of privacy rules. Rules are matched in the specified order. First matched rule defines privacy setting for a given user. If no rule matches action is not allowed
---
## Constructor: privacyRules
[Back to constructors index](index.md)
List of privacy rules. Rules are matched in the specified order. First matched rule defines privacy setting for a given user. If no rule matches action is not allowed
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|List of rules|
### Type: [PrivacyRules](../types/PrivacyRules.md)