Link Search Menu Expand Document

Constructor: inputPrivacyValueAllowUsers

Back to constructors index

Allow only certain users

Attributes:

NameTypeRequiredDescription
usersArray of Username, chat ID, Update, Message or InputUserYesAllowed users

Type: InputPrivacyRule

Example:

$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]];