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