MadelineProto/old_docs/API_docs_v70/constructors/inputUser.md

705 B

title description
inputUser inputUser attributes, type and example

Constructor: inputUser

Back to constructors index

Attributes:

Name Type Required
user_id int Yes
access_hash long Yes

Type: InputUser

Example:

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

PWRTelegram json-encoded version:

{"_": "inputUser", "user_id": int, "access_hash": long}

Or, if you're into Lua:

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