Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grammy_types/message.ts>BackgroundFillFreeformGradient

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface BackgroundFillFreeformGradient
import { type BackgroundFillFreeformGradient } from "https://deno.land/x/grammy_types@v3.7.0/message.ts";

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

Properties

type: "freeform_gradient"

Type of the background fill, always “freeform_gradient”

colors: number[]

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