WallPaper¶
-
class
pyrogram.raw.types.
WallPaper
¶ Wallpaper settings.
Constructor type of
WallPaper
.- Details
Layer:
126
ID:
0xa437c3ed
- Parameters
id (
int
64-bit
) – Identifier.access_hash (
int
64-bit
) – Access hash.slug (
str
) – Unique wallpaper ID.document (
Document
) – The actual wallpaper.creator (
bool
, optional) – Creator of the wallpaper.default (
bool
, optional) – Whether this is the default wallpaper.pattern (
bool
, optional) – Pattern.dark (
bool
, optional) – Dark mode.settings (
WallPaperSettings
, optional) – Wallpaper settings.
- Methods
This object can be returned by 3 methods:
Get info about a certain wallpaper.
Create and upload a new wallpaper.
Get info about multiple wallpapers.