mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 19:36:56 +01:00
45 lines
734 B
Markdown
45 lines
734 B
Markdown
---
|
|
title: wallpapers
|
|
description: Contains list of wallpapers
|
|
---
|
|
## Constructor: wallpapers
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Contains list of wallpapers
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|:-------------:|:--------:|------------:|
|
|
|wallpapers|Array of [wallpaper](../constructors/wallpaper.md) | Yes|List of wallpapers|
|
|
|
|
|
|
|
|
### Type: [Wallpapers](../types/Wallpapers.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$wallpapers = ['_' => 'wallpapers', 'wallpapers' => [wallpaper]];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "wallpapers", "wallpapers": [wallpaper]}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
wallpapers={_='wallpapers', wallpapers={wallpaper}}
|
|
|
|
```
|
|
|
|
|