GramIO API Reference / gramio/dist / TelegramBackgroundTypeWallpaper
Interface: TelegramBackgroundTypeWallpaper
Defined in: @gramio/types/out/objects.d.ts:2285
The background is a wallpaper in the JPEG format.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
dark_theme_dimming | number | Dimming of the background in dark themes, as a percentage; 0-100 | @gramio/types/out/objects.d.ts:2297 |
document | TelegramDocument | Document with the wallpaper | @gramio/types/out/objects.d.ts:2293 |
is_blurred? | true | Optional. True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12 | @gramio/types/out/objects.d.ts:2301 |
is_moving? | true | Optional. True, if the background moves slightly when the device is tilted | @gramio/types/out/objects.d.ts:2305 |
type | "wallpaper" | Type of the background, always “wallpaper” | @gramio/types/out/objects.d.ts:2289 |