Very Popular
Latest
interface BackgroundTypeWallpaper
import { type BackgroundTypeWallpaper } from "https://dotland.deno.dev/x/grammy@v1.31.3/types.deno.ts";

The background is a wallpaper in the JPEG format.

Properties

type: "wallpaper"

Type of the background, always “wallpaper”

document: Document

Document with the wallpaper

dark_theme_dimming: number

Dimming of the background in dark themes, as a percentage; 0-100

optional
is_blurred: true

True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12

optional
is_moving: true

True, if the background moves slightly when the device is tilted