WallPaperNoFile

class pyrogram.raw.types.WallPaperNoFile

Wallpaper with no file access hash, used for example when deleting (unsave=true) wallpapers using account.saveWallPaper, specifying just the wallpaper ID. Also used for some default wallpapers which contain only colours.

Constructor of WallPaper.

Details:
  • Layer: 136

  • ID: 0xe0804116

Parameters
  • id (int 64-bit) – Wallpaper ID.

  • default (bool, optional) – Whether this is the default wallpaper.

  • dark (bool, optional) – Dark mode.

  • settings (WallPaperSettings, optional) – Wallpaper settings.

Functions:

This object can be returned by 3 functions.

account.GetWallPaper

Get info about a certain wallpaper.

account.UploadWallPaper

Create and upload a new wallpaper.

account.GetMultiWallPapers

Get info about multiple wallpapers.