MadelineProtoDocs/old_docs/API_docs_v33/constructors/wallPaper.md

840 B

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

Constructor: wallPaper

Back to constructors index

Wall paper

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}