WallPaper

Object contains info on a wallpaper.

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;
wallPaperNoFile#8af40b25 flags:# default:flags.1?true dark:flags.4?true settings:flags.2?WallPaperSettings = WallPaper;

---functions---

account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper;
account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper;

Constructors

Constructor Description
wallPaper Wallpaper settings.
wallPaperNoFile No file wallpaper

Methods

Method Description
account.getWallPaper Get info about a certain wallpaper
account.uploadWallPaper Create and upload a new wallpaper