StaticGramBot API

InputRichBlockMap

A block with a map, corresponding to the custom HTML tag <tg-map>. The map's width and height must not exceed 10000 in total. The width and height ratio must be at most 20.

Поля

typeString
Type of the block, always “map”
Location of the center of the map
zoomIntegeroptional
Map zoom level; 0-24
widthIntegeroptional
Map width; 0-10000
heightIntegeroptional
Map height; 0-10000
Caption of the block

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

JSON
{
  "type": "map",
  "location": {
    "latitude": 0.0,
    "longitude": 0.0
  }
}

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

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