Link Search Menu Expand Document

Constructor: privacyValueAllowChatParticipants

Back to constructors index

Allow all participants of certain chats

Attributes:

NameTypeRequiredDescription
chatsArray of longYesAllowed chat 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:

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