BackgroundTypeWallpaper
The background is a wallpaper in the JPEG format.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the background, always “wallpaper” |
document | Document | required | Document with the wallpaper |
dark_theme_dimming | number | required | Dimming of the background in dark themes, as a percentage; 0-100 |
is_blurred | boolean | optional | Optional. True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12 |
is_moving | boolean | optional | Optional. True, if the background moves slightly when the device is tilted |
import
import type { BackgroundTypeWallpaper } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#backgroundtypewallpaper