1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 13:26:55 +01:00
MadelineProto/docs/TD_docs/constructors/wallpapers.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

734 B

title description
wallpapers Contains list of wallpapers

Constructor: wallpapers

Back to constructors index

Contains list of wallpapers

Attributes:

Name Type Required Description
wallpapers Array of wallpaper Yes List of wallpapers

Type: Wallpapers

Example:

$wallpapers = ['_' => 'wallpapers', 'wallpapers' => [wallpaper]];

PWRTelegram json-encoded version:

{"_": "wallpapers", "wallpapers": [wallpaper]}

Or, if you're into Lua:

wallpapers={_='wallpapers', wallpapers={wallpaper}}