StaticGramBot API

Location

This object represents a point on the map.

Поля

Latitude as defined by the sender
Longitude as defined by the sender
horizontal_accuracyFloatoptional
The radius of uncertainty for the location, measured in meters; 0-1500
live_periodIntegeroptional
Time relative to the message sending date, during which the location can be updated; in seconds. For active live locations only.
headingIntegeroptional
The direction in which user is moving, in degrees; 1-360. For active live locations only.
proximity_alert_radiusIntegeroptional
The maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only.

Минимальный JSON

JSON
{
  "latitude": 0.0,
  "longitude": 0.0
}

Где используется

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top