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

666 B

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

Constructor: peerSelfLocated

Back to constructors index

Current peer

Attributes:

Name Type Required Description
expires int Yes Expiry of geolocation info for current peer

Type: PeerLocated

Example:

$peerSelfLocated = ['_' => 'peerSelfLocated', 'expires' => int];

Or, if you're into Lua:

peerSelfLocated={_='peerSelfLocated', expires=int}