telegramx.js

BackgroundFillGradient

interface

The background is a gradient fill.

Declaration

interface BackgroundFillGradient 

Properties

bottom_color: number;

Bottom color of the gradient in the RGB24 format

rotation_angle: number;

Clockwise rotation angle of the background fill in degrees; 0-359

top_colorproperty#
top_color: number;

Top color of the gradient in the RGB24 format

typeproperty#
type: 'gradient';

Type of the background fill, always "gradient"