Link Search Menu Expand Document

Constructor: updatePeerWallpaper

Back to constructors index

The wallpaper » of a given peer has changed.

Attributes:

NameTypeRequiredDescription
wallpaper_overriddenBoolOptionalWhether the other user has chosen a custom wallpaper for us using messages.setChatWallPaper and the for_both flag, see here » for more info.
peerlongYesThe peer where the wallpaper has changed.
wallpaperWallPaperOptionalThe new wallpaper, if none the wallpaper was removed and the default wallpaper should be used.

Type: Update

Example:

$updatePeerWallpaper = ['_' => 'updatePeerWallpaper', 'wallpaper_overridden' => Bool, 'peer' => long, 'wallpaper' => WallPaper];