Skip to main content

inputMediaGeoLive

Live geolocation

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

Implements InputMedia.

Fields

NameTypeRequiredDescription
StoppedboolWhether sending of the geolocation was stopped
GeoPointInputGeoPointClassyesCurrent geolocation
HeadingintFor live locations, a direction in which the location moves, in degrees; 1-360.
PeriodintValidity period of the current location
ProximityNotificationRadiusintFor live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000)

References