# messageActionGeoProximityReached

> A user of the chat is now in proximity of another user

[Back to constructors index](/API_docs/constructors/index.html)



A user of the chat is now in proximity of another user

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|from\_id|[Peer](/API_docs/types/Peer.html) | Yes|The user or chat that is now in proximity of `to_id`|
|to\_id|[Peer](/API_docs/types/Peer.html) | Yes|The user or chat that subscribed to [live geolocation proximity alerts](https://core.telegram.org/api/live-location#proximity-alert)|
|distance|[int](/API_docs/types/int.html) | Yes|Distance, in meters (0-100000)|



### Type: [MessageAction](/API_docs/types/MessageAction.html)


### Example:

```
$messageActionGeoProximityReached = ['_' => 'messageActionGeoProximityReached', 'from_id' => Peer, 'to_id' => Peer, 'distance' => int];
```
