# danog\MadelineProto\EventHandler\Wallpaper\WallpaperSettings: Info on how to generate a wallpaper, according to [these instructions »](https://core.telegram.org/api/wallpapers).

[Back to index](../../../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

Info on how to generate a wallpaper, according to [these instructions »](https://core.telegram.org/api/wallpapers).  



## Properties
* `$blur`: `bool` For [image wallpapers](https://core.telegram.org/api/wallpapers#image-wallpapers): if set, the JPEG must be downscaled to fit in 450x450 square and then box-blurred with radius 12.
* `$motion`: `bool` If set, the background needs to be slightly moved when the device is rotated.
* `$backgroundColor`: `?int` Used for [solid](https://core.telegram.org/api/wallpapers#solid-fill), [gradient](https://core.telegram.org/api/wallpapers#gradient-fill) and [freeform gradient](https://core.telegram.org/api/wallpapers#freeform-gradient-fill) fills.
* `$secondBackgroundColor`: `?int` Used for [gradient](https://core.telegram.org/api/wallpapers#gradient-fill) and [freeform gradient](https://core.telegram.org/api/wallpapers#freeform-gradient-fill) fills.
* `$thirdBackgroundColor`: `?int` Used for [freeform gradient](https://core.telegram.org/api/wallpapers#freeform-gradient-fill) fills.
* `$fourthBackgroundColor`: `?int` Used for [freeform gradient](https://core.telegram.org/api/wallpapers#freeform-gradient-fill) fills.
* `$intensity`: `int` Used for [pattern wallpapers](https://core.telegram.org/api/wallpapers#pattern-wallpapers).
* `$rotation`: `int` Clockwise rotation angle of the gradient, in degrees; 0-359. Should be always divisible by 45.
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
