Constructor: updatePrivacy

Back to constructors index

Privacy rules were changed


Name Type Required Description
key PrivacyKey Yes Peers to which the privacy rules apply
rules Array of PrivacyRule Yes New privacy rules

Type: Update


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

Or, if you’re into Lua:

updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.