A geolocation to be sent

interface InputMediaGeo {
    accuracy?: number;
    caption?: InputText;
    latitude: number;
    longitude: number;
    type: "geo";
}

Hierarchy (view full)

Properties

accuracy?: number

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

caption?: InputText

Caption of the media

latitude: number

Latitude of the geolocation

longitude: number

Longitude of the geolocation

type: "geo"