Interface InputMediaGeoLive

A live geolocation to be sent

interface InputMediaGeoLive {
    accuracy?: number;
    caption?: InputText;
    heading?: number;
    latitude: number;
    longitude: number;
    period?: number;
    proximityNotificationRadius?: number;
    stopped?: boolean;
    type: "geo_live";
}

Hierarchy (view full)

Properties

accuracy?: number

The estimated horizontal accuracy of the geolocation, in meters (0-1500)

caption?: InputText

Caption of the media

heading?: number

Direction in which the location moves, in degrees (1-360)

latitude: number

Latitude of the geolocation

longitude: number

Longitude of the geolocation

period?: number

Validity period of the live location

proximityNotificationRadius?: number

Maximum distance to another chat member for proximity alerts, in meters (0-100000)

stopped?: boolean

Whether sending of the geolocation has stopped

type: "geo_live"