MadelineProtoDocs/old_docs/API_docs_v103/constructors/inputPeerUser.md
2019-12-27 17:48:04 +01: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}