BackgroundFillGradient
The background is a gradient fill.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the background fill, always “gradient” |
top_color | number | required | Top color of the gradient in the RGB24 format |
bottom_color | number | required | Bottom color of the gradient in the RGB24 format |
rotation_angle | number | required | Clockwise rotation angle of the background fill in degrees; 0-359 |
import
import type { BackgroundFillGradient } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#backgroundfillgradient