MadelineProtoDocs/old_docs/API_docs_v41/constructors/wallPaper.md
2019-12-27 17:48:04 +01:00

858 B

title description image
wallPaper Wallpaper settings. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: wallPaper

Back to constructors index

Wallpaper settings.

Attributes:

Name Type Required Description
id int Yes ID
title string Yes Title
sizes Array of PhotoSize Yes Sizes
color int Yes Color

Type: WallPaper

Example:

$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int];

Or, if you're into Lua:

wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int}