Raw.UpdatePeerWallpaper

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 undefined

    Whether the other user has chosen a custom wallpaper for us using messages.setchatwallpaper and the forBoth flag, see here for more info.

  • peer : Raw.TypePeer

    The peer where the wallpaper has changed.

  • wallpaper : Raw.TypeWallPaper or undefined

    The new wallpaper, if none the wallpaper was removed and the default wallpaper should be used.