MadelineProtoDocs/old_docs/API_docs_v103/constructors/peerLocated.md
2019-08-15 20:25:16 +02:00

762 B

title description image
peerLocated Located peer https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: peerLocated

Back to constructors index

Located peer

Attributes:

Name Type Required Description
peer Peer Yes Peer
expires int Yes Expiry date
distance int Yes Distance

Type: PeerLocated

Example:

$peerLocated = ['_' => 'peerLocated', 'peer' => Peer, 'expires' => int, 'distance' => int];

Or, if you're into Lua:

peerLocated={_='peerLocated', peer=Peer, expires=int, distance=int}