MadelineProtoDocs/old_docs/API_docs_v27/constructors/peerUser.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

674 B

title description image
peerUser Peer user https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: peerUser

Back to constructors index

Peer user

Attributes:

Name Type Required Description
user_id int Yes User ID

Type: Peer

Example:

$peerUser = ['_' => 'peerUser', 'user_id' => int];

PWRTelegram json-encoded version:

{"_": "peerUser", "user_id": int}

Or, if you're into Lua:

peerUser={_='peerUser', user_id=int}