Link Search Menu Expand Document

Constructor: inputPeerUser

Back to constructors index

Defines a user for further interaction.

Attributes:

NameTypeRequiredDescription
user_idlongYesUser identifier
access_hashlongYesaccess_hash value from the user constructor

Type: InputPeer

Example:

$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => long, 'access_hash' => long];