1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 10:19:36 +01:00
MadelineProto/docs/API_docs/constructors/wallPaper.md

39 lines
719 B
Markdown
Raw Normal View History

2016-12-20 13:15:22 +01:00
---
title: wallPaper
2016-12-20 13:32:11 +01:00
description: wallPaper attributes, type and example
2016-12-20 13:15:22 +01:00
---
## Constructor: wallPaper
2016-12-20 13:15:22 +01:00
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Yes|
|title|[string](../types/string.md) | Yes|
|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Yes|
|color|[int](../types/int.md) | Yes|
2016-12-19 18:56:05 +01:00
### Type: [WallPaper](../types/WallPaper.md)
### Example:
```
$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ];
```
Or, if you're into Lua:
```
wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, }
```