MadelineProtoDocs/old_docs/API_docs_v82/constructors/account_privacyRules.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

966 B

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

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]];

PWRTelegram json-encoded version:

{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]}

Or, if you're into Lua:

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