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

839 B

title description image
privacyValueDisallowChatParticipants Disallow only participants of certain chats https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: privacyValueDisallowChatParticipants

Back to constructors index

Disallow only participants of certain chats

Attributes:

Name Type Required Description
chats Array of int Yes Disallowed chats

Type: PrivacyRule

Example:

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

Or, if you're into Lua:

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