StaticGramBot API

StoryArea

Describes a clickable area on a story media.

Поля

Position of the area
Type of the area

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

JSON
{
  "position": {
    "x_percentage": 0.0,
    "y_percentage": 0.0,
    "width_percentage": 0.0,
    "height_percentage": 0.0,
    "rotation_angle": 0.0,
    "corner_radius_percentage": 0.0
  },
  "type": {
    "type": "location",
    "latitude": 0.0,
    "longitude": 0.0
  }
}

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

Методы

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