Constructor: account.privacyRules

Back to constructors index

Privacy rules


Name Type Required Description
rules Array of PrivacyRule Yes Privacy rules
chats Array of Chat Yes Chats to which the rules apply
users Array of User Yes Users to which the rules apply

Type: account.PrivacyRules


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

Or, if you’re into Lua:

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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.