MadelineProtoDocs/old_docs/API_docs_v97/constructors/wallPaperSettings.md

42 lines
959 B
Markdown
Raw Normal View History

2019-05-03 21:10:09 +02:00
---
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}
```