Link Search Menu Expand Document

Constructor: wallPaperNoFile

Back to constructors index

Represents a wallpaper only based on colors/gradients.

Attributes:

NameTypeRequiredDescription
idlongYesWallpaper ID
defaultBoolOptionalWhether this is the default wallpaper
darkBoolOptionalWhether this wallpaper should be used in dark mode.
settingsWallPaperSettingsOptionalInfo on how to generate the wallpaper.

Type: WallPaper

Example:

$wallPaperNoFile = ['_' => 'wallPaperNoFile', 'id' => long, 'default' => Bool, 'dark' => Bool, 'settings' => WallPaperSettings];