WallPaper#
- class pyrogram.raw.types.WallPaper#
Represents a wallpaper based on an image.
Constructor of
WallPaper.- Details:
Layer:
214ID:
A437C3ED
- Parameters:
id (
int64-bit) – Identifieraccess_hash (
int64-bit) – Access hashslug (
str) – Unique wallpaper ID, used when generating wallpaper links or importing wallpaper links.document (
Document) – The actual wallpapercreator (
bool, optional) – Whether we created this wallpaperdefault (
bool, optional) – Whether this is the default wallpaperpattern (
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.
Get info about a certain wallpaper
Create and upload a new wallpaper
Get info about multiple wallpapers