MadelineProto/docs/API_docs/constructors/updatePrivacy.md

383 B

Constructor: updatePrivacy

Attributes:

Name Type Required
key PrivacyKey Required
rules Array of PrivacyRule Required

Type: Update

Example:

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