Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/message.ts>BackgroundFillGradient

Type declarations of the Telegram Bot API.
Latest
interface BackgroundFillGradient
import { type BackgroundFillGradient } from "https://deno.land/x/grammy_types@v3.16.0/message.ts";

The background is a gradient fill.

Properties

type: "gradient"

Type of the background fill, always “gradient”

top_color: number

Top color of the gradient in the RGB24 format

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