MadelineProtoDocs/docs/API_docs/constructors/inputWallPaperSlug.md

39 lines
711 B
Markdown
Raw Normal View History

2019-03-08 13:49:23 +01:00
---
title: inputWallPaperSlug
2019-12-27 17:48:04 +01:00
description: Wallpaper by slug (a unique ID)
2019-03-08 13:49:23 +01:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputWallPaperSlug
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Wallpaper by slug (a unique ID)
2019-03-08 14:35:09 +01:00
2019-03-08 13:49:23 +01:00
### Attributes:
2019-03-08 14:35:09 +01:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|slug|[string](../types/string.md) | Yes|Unique wallpaper ID|
2019-03-08 13:49:23 +01:00
### Type: [InputWallPaper](../types/InputWallPaper.md)
### Example:
```php
$inputWallPaperSlug = ['_' => 'inputWallPaperSlug', 'slug' => 'string'];
```
Or, if you're into Lua:
```lua
inputWallPaperSlug={_='inputWallPaperSlug', slug='string'}
```