Interface ActionGeoProximity

A user is in proximity of another user (see Proximity alerts)

interface ActionGeoProximity {
    distance: number;
    targetId: number;
    type: "geo_proximity";
    userId: number;
}

Properties

distance: number

Distance between them in meters

targetId: number

ID of the user who sent the geolocation with proximity alerts

type: "geo_proximity"
userId: number

ID of the user who has approached targetId