mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image |
---|---|---|---|
wallPaperNoFile | Represents a wallpaper only based on colors/gradients. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: wallPaperNoFile
Represents a wallpaper only based on colors/gradients.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | long | Yes | Wallpaper ID |
default | Bool | Optional | Whether this is the default wallpaper |
dark | Bool | Optional | Whether this wallpaper should be used in dark mode. |
settings | WallPaperSettings | Optional | Info on how to generate the wallpaper. |
Type: WallPaper
Example:
$wallPaperNoFile = ['_' => 'wallPaperNoFile', 'id' => long, 'default' => Bool, 'dark' => Bool, 'settings' => WallPaperSettings];