MadelineProtoDocs/old_docs/API_docs_v82/constructors/wallPaper.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00: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}