1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 15:47:21 +01:00
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], ];