StaticGramBot API

RichBlockMap

A block with a map, corresponding to the custom HTML tag <tg-map>.

Поля

typeString
Type of the block, always “map”
Location of the center of the map
zoomInteger
Map zoom level
widthInteger
Expected width of the map
heightInteger
Expected height of the map
Caption of the block

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

JSON
{
  "type": "map",
  "location": {
    "latitude": 0.0,
    "longitude": 0.0
  },
  "zoom": 1,
  "width": 1,
  "height": 1
}

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

Типы

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