WallPaper

class pyrogram.raw.types.WallPaper

Represents a wallpaper based on an image.

Constructor of WallPaper.

Details:
  • Layer: 194

  • ID: A437C3ED

Parameters:
  • id (int 64-bit) – Identifier

  • access_hash (int 64-bit) – Access hash

  • slug (str) – Unique wallpaper ID, used when generating wallpaper links or importing wallpaper links.

  • document (Document) – The actual wallpaper

  • creator (bool, optional) – Whether we created this wallpaper

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

  • pattern (bool, optional) – Whether this is a pattern wallpaper »

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

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

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