MadelineProtoDocs/docs/TD_docs/constructors/privacyRules.md

24 lines
779 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
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
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: privacyRules
2018-04-01 13:19:25 +02:00
[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)