MadelineProto/docs/API_docs/constructors/updatePrivacy.md

18 lines
383 B
Markdown

## Constructor: updatePrivacy
### 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 = ['key' => PrivacyKey, 'rules' => [PrivacyRule], ];
```