mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
980 B
980 B
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
account.privacyRules | Privacy rules | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/account_privacyRules.html |
Constructor: account.privacyRules
Privacy rules
Attributes:
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
Example:
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]];