location_t

struct banana::api::location_t

This object represents a point on the map.

float_t latitude

Latitude as defined by the sender

float_t longitude

Longitude as defined by the sender

optional_t<float_t> horizontal_accuracy

Optional. The radius of uncertainty for the location, measured in meters; 0-1500

optional_t<integer_t> live_period

Optional. Time relative to the message sending date, during which the location can be updated; in seconds. For active live locations only.

optional_t<integer_t> heading

Optional. The direction in which user is moving, in degrees; 1-360. For active live locations only.

optional_t<integer_t> proximity_alert_radius

Optional. The maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only.