MadelineProtoDocs/old_docs/API_docs_v41/constructors/account.privacyRules.md
2019-12-27 18:46:25 +01:00

887 B

title description image redirect_from
account.privacyRules Privacy rules https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/account_privacyRules.html

Constructor: account.privacyRules

Back to constructors index

Privacy rules

Attributes:

Name Type Required Description
rules Array of PrivacyRule Yes Rules
users Array of User Yes Users

Type: account.PrivacyRules

Example:

$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]];

Or, if you're into Lua:

account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}}