MadelineProto/old_docs/API_docs_v42/constructors/updatePrivacy.md

535 B

title description
updatePrivacy updatePrivacy attributes, type and example

Constructor: updatePrivacy

Back to constructors index

Attributes:

Name Type Required
key PrivacyKey Required
rules Array of PrivacyRule Required

Type: Update

Example:

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