1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
wallPaper | Wall paper | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: wallPaper
Wall paper
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | long | Yes | ID |
creator | Bool | Optional | Am I the creator? |
default | Bool | Optional | Default? |
pattern | Bool | Optional | Pattern |
dark | Bool | Optional | Dark? |
access_hash | long | Yes | Hash |
slug | string | Yes | Slug? |
document | Document | Optional | Wallpaper |
settings | WallPaperSettings | Optional | Wallpaper settings |
Type: WallPaper
Example:
$wallPaper = ['_' => 'wallPaper', 'id' => long, 'creator' => Bool, 'default' => Bool, 'pattern' => Bool, 'dark' => Bool, 'access_hash' => long, 'slug' => 'string', 'document' => Document, 'settings' => WallPaperSettings];
Or, if you're into Lua:
wallPaper={_='wallPaper', id=long, creator=Bool, default=Bool, pattern=Bool, dark=Bool, access_hash=long, slug='string', document=Document, settings=WallPaperSettings}