telegramx.js

BackgroundTypeWallpaper

interface

The background is a wallpaper in the JPEG format.

Declaration

interface BackgroundTypeWallpaper 

Properties

dark_theme_dimming: number;

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

documentproperty#
document: Document;

Document with the wallpaper

is_blurredproperty#
is_blurred?: boolean;

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

is_movingproperty#
is_moving?: boolean;

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

typeproperty#
type: 'wallpaper';

Type of the background, always "wallpaper"