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

583 B

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

Constructor: peerUser

Back to constructors index

Chat partner

Attributes:

Name Type Required Description
user_id int Yes User identifier

Type: Peer

Example:

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

Or, if you're into Lua:

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