1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-06 02:58:17 +01:00
MadelineProto/docs/API_docs/constructors/updatePrivacy.md
2016-12-20 13:15:22 +01:00

25 lines
474 B
Markdown

---
title: updatePrivacy
---
## Constructor: updatePrivacy
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|key|[PrivacyKey](../types/PrivacyKey.md) | Required|
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required|
### Type: [Update](../types/Update.md)
### Example:
```
$updatePrivacy = ['_' => updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ];
```