mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
782 B
782 B
title | description | nav_exclude | image |
---|---|---|---|
updatePrivacy | Privacy rules were changed | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updatePrivacy
Privacy rules were changed
Attributes:
Name | Type | Required | Description |
---|---|---|---|
key | PrivacyKey | Yes | Peers to which the privacy rules apply |
rules | Array of PrivacyRule | Yes | New privacy rules |
Type: Update
Example:
$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]];