MadelineProtoDocs/old_docs/API_docs_v109/constructors/inputPeerUser.md
2020-03-06 12:24:14 +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}