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

nametypedescription
idlongIdentifier
flags#Flags, see TL conditional fields
creatorflags.0?trueWhether we created this wallpaper
defaultflags.1?trueWhether this is the default wallpaper
patternflags.3?trueWhether this is a pattern wallpaper »
darkflags.4?trueWhether this wallpaper should be used in dark mode.
access_hashlongAccess hash
slugstringUnique wallpaper ID, used when generating wallpaper links or importing wallpaper links.
documentDocumentThe actual wallpaper
settingsflags.2?WallPaperSettingsInfo 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×

idlayers
#ccb036572–92
#f04f91ec93
#a437c3ed95–229