MadelineProtoDocs/old_docs/API_docs_v14/constructors/inputUser.md

816 B

title description image
inputUser Defines a user for further interaction. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputUser

Back to constructors index

Defines a user for further interaction.

Attributes:

Name Type Required Description
user_id int Yes User identifier
access_hash long Yes access_hash value from the user constructor

Type: InputUser

Example:

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

Or, if you're into Lua:

inputUser={_='inputUser', user_id=int, access_hash=long}