WallPaperNoFile
- class pyrogram.raw.types.WallPaperNoFile
Represents a wallpaper only based on colors/gradients.
Constructor of
WallPaper.- Details:
Layer:
223ID:
E0804116
- Parameters:
id (
int64-bit) – Wallpaper IDdefault (
bool, optional) – Whether this is the default wallpaperdark (
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.
Get info about a certain wallpaper
Create and upload a new wallpaper
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,
)