MadelineProtoDocs/old_docs/API_docs_v91/constructors/wallPaper.md
2019-03-08 13:49:23 +01:00

996 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];

PWRTelegram json-encoded version:

{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int}

Or, if you're into Lua:

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