wallPaper

Represents a wallpaper based on an image.

wallPaper#ccb03657 id:int title:string sizes:Vector<PhotoSize> color:int = WallPaper;

Parameters

Name Type Description
id long Identifier
flags # Flags, see TL conditional fields
creator flags.0?true Whether we created this wallpaper
default flags.1?true Whether this is the default wallpaper
pattern flags.3?true Whether this is a pattern wallpaper »
dark flags.4?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 flags.2?WallPaperSettings Info on how to generate the wallpaper, according to these instructions ».

Type

WallPaper

Related pages

Wallpapers

Telegram apps support generating, sharing and synchronizing chat backgrounds.

Deep links

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