wallPaperSettings
Wallpaper rendering information.
type tg.WallPaperSettings struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Blur | bool | — | For 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 », gradient » and freeform gradient » fills. |
SecondBackgroundColor | int | — | Used for gradient » and freeform gradient » fills. |
ThirdBackgroundColor | int | — | Used for freeform gradient » fills. |
FourthBackgroundColor | int | — | Used for freeform gradient » fills. |
Intensity | int | — | Used for pattern wallpapers ». |
Rotation | int | — | Clockwise rotation angle of the gradient, in degrees; 0-359. Should be always divisible by 45. |
Emoticon | string | — | If set, this wallpaper can be used as a channel wallpaper and is represented by the specified UTF-8 emoji. |
References
- Official documentation
- Generated Go reference
- TL definition:
wallPaperSettings#372efcd0