Layer 227
WallPaperNoFile
Represents a wallpaper only based on colors/gradients.
constructor
wallPaperNoFile#e0804116 id:long flags:# default:flags.1?true dark:flags.4?true settings:flags.2?WallPaperSettings = WallPaper;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | long | Wallpaper ID |
| Default | flags .1? true | Whether this is the default wallpaper |
| Dark | flags .4? true | Whether this wallpaper should be used in dark mode. |
| Settings | flags .2? WallPaperSettings | Info on how to generate the wallpaper. |
Returns
WallPaperGogram Example
// Creating WallPaperNoFile constructor obj := &tg.WallPaperNoFile{ Id: int64(1234567890), Default: nil, Dark: nil, Settings: nil, }