MadelineProtoDocs/old_docs/API_docs_v4/constructors/inputUser.md
2020-06-16 17:50:25 +02:00

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}