MadelineProtoDocs/docs/API_docs/constructors/wallPaperNoFile.md
2024-05-01 14:53:46 +02:00

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

Back to constructors index

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