WallPaperNoFile

class pyrogram.raw.types.WallPaperNoFile

Represents a wallpaper only based on colors/gradients.

Constructor of WallPaper.

Details:
  • Layer: 223

  • 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

TL Schema

wallPaperNoFile#e0804116
id:long
flags:#
default:flags.1?true
dark:flags.4?true
settings:flags.2?WallPaperSettings

= WallPaper

Parameter Tree

WallPaperNoFile
├── idlong
├── defaulttrue (optional)
├── darktrue (optional)
└── settingsWallPaperSettings (optional)
├── blurtrue (optional)
├── motiontrue (optional)
├── background_colorint (optional)
├── second_background_colorint (optional)
├── third_background_colorint (optional)
├── fourth_background_colorint (optional)
├── intensityint (optional)
├── rotationint (optional)
└── emoticonstring (optional)

Example

WallPaperNoFile(
    id=0,
)