Interface LiveLocation

A live location.

interface LiveLocation {
    @type: "liveLocation";
    heading: number;
    live_period: number;
    location: Location;
    proximity_alert_radius: number;
}

Properties

@type: "liveLocation"
heading: number

The direction in which the location moves, in degrees; 1-360; 0 if unknown.

live_period: number

Time relative to the message send date, for which the location can be updated, in seconds; if 0x7FFFFFFF, then location can be updated forever.

location: Location

The current location.

proximity_alert_radius: number

The maximum distance to another chat member for proximity alerts, in meters (0-100000). 0 if the notification is disabled. Can't be enabled in direct messages chats, channels and Saved Messages. Available only to the message sender.