StaticGramBot API

BackgroundFillGradient

The background is a gradient fill.

Поля

typeString
Type of the background fill, always “gradient”
top_colorInteger
Top color of the gradient in the RGB24 format
Bottom color of the gradient in the RGB24 format
Clockwise rotation angle of the background fill in degrees; 0-359

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

JSON
{
  "type": "gradient",
  "top_color": 1,
  "bottom_color": 1,
  "rotation_angle": 1
}

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

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