Raw.UpdatePeerWallpaper
The wallpaper of a given peer has changed.
updatePeerWallpaper#ae3f101d flags:# wallpaper_overridden:flags.1?true peer:Peer wallpaper:flags.0?WallPaper = Update;
export namespace Raw {
export class UpdatePeerWallpaper {
constructor(params: {
wallpaperOverridden?: boolean;
peer: Raw.TypePeer;
wallpaper?: Raw.TypeWallPaper;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xae3f101d
Property
wallpaperOverridden
: boolean or undefinedWhether the other user has chosen a custom wallpaper for us using messages.setchatwallpaper and the forBoth flag, see here for more info.
peer
: Raw.TypePeerThe peer where the wallpaper has changed.
wallpaper
: Raw.TypeWallPaper or undefinedThe new wallpaper, if none the wallpaper was removed and the default wallpaper should be used.