Skip to main content

inputMediaGeoLive

Live geolocation

type tg.InputMediaGeoLive struct { /* ... */ }

Implements InputMedia.

Fields​

NameTypeRequiredDescription
Stoppedbool—Whether sending of the geolocation was stopped
GeoPointInputGeoPointClassyesCurrent geolocation
Headingint—For live locations, a direction in which the location moves, in degrees; 1-360.
Periodint—Validity period of the current location
ProximityNotificationRadiusint—For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000)

References​