telegramx.js

BackgroundFillFreeformGradient

interface

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

Declaration

interface BackgroundFillFreeformGradient 

Properties

colorsproperty#
colors: number[];

A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format

typeproperty#
type: 'freeform_gradient';

Type of the background fill, always "freeform_gradient"