account.WallPapers
- class pyrogram.raw.types.account.WallPapers
Installed wallpapers
Constructor of
WallPapers.- Details:
Layer:
223ID:
CDC3858C
- Parameters:
hash (
int64-bit) – Hash used for caching, for more info click herewallpapers (List of
WallPaper) – Wallpapers
- Functions:
This object can be returned by 1 function.
Returns a list of available wallpapers.
TL Schema
account.wallPapers#cdc3858c
hash:long
wallpapers:Vector<WallPaper>
= account.WallPapers
Parameter Tree
WallPapers
├── hash →
long└── wallpapers →
Vector < WallPaper >├──
WallPaper│ ├── id →
long│ ├── creator →
true (optional)│ ├── default →
true (optional)│ ├── pattern →
true (optional)│ ├── dark →
true (optional)│ ├── access_hash →
long│ ├── slug →
string│ ├── document →
Document│ │ ├──
DocumentEmpty│ │ │ └── id →
long│ │ └──
Document│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── file_reference →
bytes│ │ ├── date →
int│ │ ├── mime_type →
string│ │ ├── size →
long│ │ ├── thumbs →
Vector < PhotoSize > (optional)│ │ │ ├──
PhotoSizeEmpty│ │ │ ├──
PhotoSize│ │ │ ├──
PhotoCachedSize│ │ │ ├──
PhotoStrippedSize│ │ │ ├──
PhotoSizeProgressive│ │ │ └──
PhotoPathSize│ │ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ │ ├──
VideoSize│ │ │ ├──
VideoSizeEmojiMarkup│ │ │ └──
VideoSizeStickerMarkup│ │ ├── dc_id →
int│ │ └── attributes →
Vector < DocumentAttribute >│ │ ├──
DocumentAttributeImageSize│ │ ├──
DocumentAttributeAnimated│ │ ├──
DocumentAttributeSticker│ │ ├──
DocumentAttributeVideo│ │ ├──
DocumentAttributeAudio│ │ ├──
DocumentAttributeFilename│ │ ├──
DocumentAttributeHasStickers│ │ └──
DocumentAttributeCustomEmoji│ └── settings →
WallPaperSettings (optional)│ └──
WallPaperSettings│ ├── 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)└──
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
WallPapers(
hash=0,
wallpapers=[
WallPaper(
id=0,
access_hash=0,
slug="text",
document=DocumentEmpty(id=0)
)
],
)