MadelineProtoDocs/docs/API_docs/constructors/updatePeerLocated.md
2024-05-01 14:53:46 +02:00

30 lines
706 B
Markdown

---
title: "updatePeerLocated"
description: "List of peers near you was updated"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updatePeerLocated
[Back to constructors index](/API_docs/constructors/index.html)
List of peers near you was updated
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|peers|Array of [PeerLocated](/API_docs/types/PeerLocated.html) | Yes|Geolocated peer list update|
### Type: [Update](/API_docs/types/Update.html)
### Example:
```
$updatePeerLocated = ['_' => 'updatePeerLocated', 'peers' => [PeerLocated, PeerLocated]];
```