Link Search Menu Expand Document

Constructor: requestPeerTypeUser

Back to constructors index

Choose a user.

Attributes:

NameTypeRequiredDescription
botBoolOptionalWhether to allow choosing only bots.
premiumBoolOptionalWhether to allow choosing only Premium users.

Type: RequestPeerType

Example:

$requestPeerTypeUser = ['_' => 'requestPeerTypeUser', 'bot' => Bool, 'premium' => Bool];