MadelineProtoDocs/old_docs/API_docs_v41/constructors/peerSelfLocated.md

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}