telegramx.js

Location

interface

This object represents a point on the map.

Declaration

interface Location 

Properties

headingproperty#
heading?: number;

Optional. The direction in which user is moving, in degrees; 1-360. For active live locations only.

horizontal_accuracy?: number;

Optional. The radius of uncertainty for the location, measured in meters; 0-1500

latitudeproperty#
latitude: number;

Latitude as defined by the sender

live_periodproperty#
live_period?: number;

Optional. Time relative to the message sending date, during which the location can be updated; in seconds. For active live locations only.

longitudeproperty#
longitude: number;

Longitude as defined by the sender

proximity_alert_radius?: number;

Optional. The maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only.