wallPaper #

Represents a wallpaper based on an image.

Layer 223

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

Chat wallpapers #

Telegram apps support generating, sharing and synchronizing chat backgrounds.

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.