39 lines
810 B
Markdown
39 lines
810 B
Markdown
|
---
|
||
|
title: privacyValueAllowChatParticipants
|
||
|
description: Allow all participants of certain chats
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: privacyValueAllowChatParticipants
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Allow all participants of certain chats
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|chats|Array of [int](../types/int.md) | Yes|Allowed chats|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [PrivacyRule](../types/PrivacyRule.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$privacyValueAllowChatParticipants = ['_' => 'privacyValueAllowChatParticipants', 'chats' => [int, int]];
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
privacyValueAllowChatParticipants={_='privacyValueAllowChatParticipants', chats={int}}
|
||
|
|
||
|
```
|
||
|
|
||
|
|