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

840 B

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

Constructor: inputPeerUser

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: InputPeer

Example:

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

Or, if you're into Lua:

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