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