mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
30 lines
783 B
Markdown
30 lines
783 B
Markdown
---
|
|
title: "inputPrivacyValueAllowChatParticipants"
|
|
description: "Allow only participants of certain chats"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: inputPrivacyValueAllowChatParticipants
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Allow only participants of certain chats
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|chats|Array of [long](/API_docs/types/long.html) | Yes|Allowed chat IDs|
|
|
|
|
|
|
|
|
### Type: [InputPrivacyRule](/API_docs/types/InputPrivacyRule.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$inputPrivacyValueAllowChatParticipants = ['_' => 'inputPrivacyValueAllowChatParticipants', 'chats' => [long, long]];
|
|
```
|