StaticGramBot API

BackgroundFillFreeformGradient

The background is a freeform gradient that rotates after every message in the chat.

Поля

typeString
Type of the background fill, always “freeform_gradient”
colorsArray of Integer
A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format

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

JSON
{
  "type": "freeform_gradient",
  "colors": []
}

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

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