Link Search Menu Expand Document

Constructor: updatePrivacy

Back to constructors index

Privacy rules were changed

Attributes:

NameTypeRequiredDescription
keyPrivacyKeyYesPeers to which the privacy rules apply
rulesArray of PrivacyRuleYesNew privacy rules

Type: Update

Example:

$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]];