View Source ExTDLib.Object.InputMessageLocation (ExTDLib v0.0.4)
A message with a location.
| Name | Type | Description |
|---|---|---|
| location | location | Location to be sent. |
| live_period | number | Period for which the location can be updated, in seconds; must be between 60 and 86400 for a live location and 0 otherwise. |
| heading | number | For live locations, a direction in which the location moves, in degrees; 1-360. Pass 0 if unknown. |
| proximity_alert_radius | number | For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled. Can't be enabled in channels and Saved Messages. |
More details on telegram's documentation.