mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
30 lines
706 B
Markdown
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]];
|
|
```
|