telegram api constructor · layer 229 · #a437c3ed
wallPaper
Represents a wallpaper based on an image.
definition
wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper;
parameters
| name | type | description |
|---|---|---|
id | long | Identifier |
flags | # | Flags, see TL conditional fields |
creator | true | Whether we created this wallpaper |
default | true | Whether this is the default wallpaper |
pattern | true | Whether this is a pattern wallpaper » |
dark | true | Whether this wallpaper should be used in dark mode. |
access_hash | long | Access hash |
slug | string | Unique wallpaper ID, used when generating wallpaper links or importing wallpaper links. |
document | Document | The actual wallpaper |
settings | WallPaperSettings | Info on how to generate the wallpaper, according to these instructions ». |
type
WallPaper · other constructors: wallPaperNoFile
history
present in layers 2–229 · constructor id changed 2×
| id | layers |
|---|---|
| #ccb03657 | 2–92 |
| #f04f91ec | 93 |
| #a437c3ed | 95–229 |