mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 22:26:54 +01:00
901 B
901 B
title | description |
---|---|
privacyRules | List of privacy rules. Rules are matched in the specified order. First matched rule defines privacy setting for a given user. If no rule matches action is not allowed |
Constructor: privacyRules
List of privacy rules. Rules are matched in the specified order. First matched rule defines privacy setting for a given user. If no rule matches action is not allowed
Attributes:
Name | Type | Required | Description |
---|---|---|---|
rules | Array of PrivacyRule | Yes | List of rules |
Type: PrivacyRules
Example:
$privacyRules = ['_' => 'privacyRules', 'rules' => [PrivacyRule], ];
Or, if you're into Lua:
privacyRules={_='privacyRules', rules={PrivacyRule}, }