Layer 220
constructor
updatePeerWallpaper#ae3f101d flags:# wallpaper_overridden:flags.1?true peer:Peer wallpaper:flags.0?WallPaper = Update;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
WallpaperOverridden flags.1?true Whether the other user has chosen a custom wallpaper for us using messages. set Chat Wall Paper and the for_both flag, see here for more info.
Peer Peer The peer where the wallpaper has changed.
Wallpaper flags.0?WallPaper The new wallpaper, if none the wallpaper was removed and the default wallpaper should be used.

Returns

Update

Gogram Example

// Creating UpdatePeerWallpaper constructor
obj := &tg.UpdatePeerWallpaper{
    Peer: &tg.Peer{},

    // Optional fields:
    // WallpaperOverridden: true,
    // Wallpaper: &tg.WallPaper{},
}