Skip to content

LiveLocation

Type · TDLib 1.8.67 · d1085f9c

A live location

LiveLocation(
  location: Location,
  live_period: int32,
  heading: int32,
  proximity_alert_radius: int32
) → LiveLocation

location

Location

The current location

live_period

int32

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

heading

int32

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

proximity_alert_radius

int32

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