Available types

Location

This object represents a point on the map.

fields

fieldtyperequireddescription
latitudenumberrequiredLatitude as defined by the sender
longitudenumberrequiredLongitude as defined by the sender
horizontal_accuracynumberoptionalOptional. The radius of uncertainty for the location, measured in meters; 0-1500
live_periodnumberoptionalOptional. Time relative to the message sending date, during which the location can be updated; in seconds. For active live locations only.
headingnumberoptionalOptional. The direction in which user is moving, in degrees; 1-360. For active live locations only.
proximity_alert_radiusnumberoptionalOptional. The maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only.

import

types.ts
import type { Location } from "@yaebal/types";

used by

types