MadelineProtoDocs/docs/API_docs/constructors/wallPaperSettings.md

42 lines
959 B
Markdown
Raw Normal View History

2019-03-08 13:49:23 +01:00
---
title: wallPaperSettings
2019-03-08 14:35:09 +01:00
description: Wallpaper settings
2019-03-08 13:49:23 +01:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: wallPaperSettings
[Back to constructors index](index.md)
2019-03-08 14:35:09 +01:00
Wallpaper settings
2019-03-08 13:49:23 +01:00
### Attributes:
2019-03-08 14:35:09 +01:00
| 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|
2019-03-08 13:49:23 +01:00
### 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}
```