MadelineProtoDocs/old_docs/API_docs_v38/constructors/privacyValueAllowChatParticipants.md
2020-06-16 17:50:25 +02:00

810 B

title description image
privacyValueAllowChatParticipants Allow all participants of certain chats https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: privacyValueAllowChatParticipants

Back to constructors index

Allow all participants of certain chats

Attributes:

Name Type Required Description
chats Array of int Yes Allowed chats

Type: PrivacyRule

Example:

$privacyValueAllowChatParticipants = ['_' => 'privacyValueAllowChatParticipants', 'chats' => [int, int]];

Or, if you're into Lua:

privacyValueAllowChatParticipants={_='privacyValueAllowChatParticipants', chats={int}}