Link Search Menu Expand Document

Constructor: privacyValueDisallowChatParticipants

Back to constructors index

Disallow only participants of certain chats

Attributes:

NameTypeRequiredDescription
chatsArray of longYesDisallowed chats IDs (either a chat or a supergroup ID, verbatim the way it is received in the constructor (i.e. unlike with bot API IDs, here group and supergroup IDs should be treated in the same way)).

Type: PrivacyRule

Example:

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