WallPaperNoFile#

class pyrogram.raw.types.WallPaperNoFile#

Represents a wallpaper only based on colors/gradients.

Constructor of WallPaper.

Details:
  • Layer: 158

  • ID: E0804116

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

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

  • dark (bool, optional) – Whether this wallpaper should be used in dark mode.

  • settings (WallPaperSettings, optional) – Info on how to generate the wallpaper.

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.