MadelineProtoDocs/old_docs/API_docs_v105/constructors/wallPaperSettings.md
2019-09-13 17:13:55 +02:00

42 lines
959 B
Markdown

---
title: wallPaperSettings
description: Wallpaper settings
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: wallPaperSettings
[Back to constructors index](index.md)
Wallpaper settings
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|blur|[Bool](../types/Bool.md) | Optional|Blur?|
|motion|[Bool](../types/Bool.md) | Optional|Motion?|
|background\_color|[int](../types/int.md) | Optional|Background color|
|intensity|[int](../types/int.md) | Optional|Intensity|
### Type: [WallPaperSettings](../types/WallPaperSettings.md)
### Example:
```php
$wallPaperSettings = ['_' => 'wallPaperSettings', 'blur' => Bool, 'motion' => Bool, 'background_color' => int, 'intensity' => int];
```
Or, if you're into Lua:
```lua
wallPaperSettings={_='wallPaperSettings', blur=Bool, motion=Bool, background_color=int, intensity=int}
```