Link Search Menu Expand Document

Constructor: inputPrivacyValueDisallowChatParticipants

Back to constructors index

Disallow only participants of certain chats

Attributes:

NameTypeRequiredDescription
chatsArray of longYesDisallowed 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: InputPrivacyRule

Example:

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