MadelineProto/old_docs/API_docs_v38/constructors/wallPaper.md

30 lines
619 B
Markdown
Raw Normal View History

---
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, ];
```