WallPaperNoFile

class pyrogram.raw.types.WallPaperNoFile

Represents a wallpaper only based on colors/gradients.

Constructor of WallPaper.

Details:
  • Layer: 227

  • 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
├── id → long
├── default → true (optional)
├── dark → true (optional)
└── settings → WallPaperSettings (optional)
├── blur → true (optional)
├── motion → true (optional)
├── background_color → int (optional)
├── second_background_color → int (optional)
├── third_background_color → int (optional)
├── fourth_background_color → int (optional)
├── intensity → int (optional)
├── rotation → int (optional)
└── emoticon → string (optional)

Example

WallPaperNoFile(
    id=0,
)