mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 21:37:49 +01:00
30 lines
619 B
Markdown
30 lines
619 B
Markdown
|
---
|
||
|
title: wallPaper
|
||
|
description: wallPaper attributes, type and example
|
||
|
---
|
||
|
## Constructor: wallPaper
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|:-------------:|---------:|
|
||
|
|id|[int](../types/int.md) | Required|
|
||
|
|title|[string](../types/string.md) | Required|
|
||
|
|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required|
|
||
|
|color|[int](../types/int.md) | Required|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [WallPaper](../types/WallPaper.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ];
|
||
|
```
|
||
|
|