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