BackgroundFillFreeformGradient
The background is a freeform gradient that rotates after every message in the chat.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the background fill, always “freeform_gradient” |
colors | number[] | required | A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format |
import
import type { BackgroundFillFreeformGradient } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#backgroundfillfreeformgradient