MadelineProtoDocs/old_docs/API_docs_v105/constructors/updatePeerLocated.md

39 lines
726 B
Markdown
Raw Normal View History

2019-09-13 17:13:55 +02:00
---
title: updatePeerLocated
2019-12-27 17:48:04 +01:00
description: List of peers near you was updated
2019-09-13 17:13:55 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updatePeerLocated
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
List of peers near you was updated
2019-09-13 17:13:55 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|peers|Array of [PeerLocated](../types/PeerLocated.md) | Yes|Peers|
### Type: [Update](../types/Update.md)
### Example:
```php
$updatePeerLocated = ['_' => 'updatePeerLocated', 'peers' => [PeerLocated, PeerLocated]];
```
Or, if you're into Lua:
```lua
updatePeerLocated={_='updatePeerLocated', peers={PeerLocated}}
```