mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 07:47:24 +01:00
37 lines
525 B
Markdown
37 lines
525 B
Markdown
|
---
|
||
|
title: privacyRuleAllowAll
|
||
|
description: Rule to allow all users
|
||
|
---
|
||
|
## Constructor: privacyRuleAllowAll
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Rule to allow all users
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|:-------------:|:--------:|------------:|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [PrivacyRule](../types/PrivacyRule.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$privacyRuleAllowAll = ['_' => 'privacyRuleAllowAll', ];
|
||
|
```
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
privacyRuleAllowAll={_='privacyRuleAllowAll', }
|
||
|
|
||
|
```
|
||
|
|
||
|
|