account.InstallWallPaper

class pyrogram.raw.functions.account.InstallWallPaper

Install wallpaper

Details:
  • Layer: 223

  • ID: FEED5769

Parameters:
Returns:

bool

TL Schema

account.installWallPaper#feed5769
wallpaper:InputWallPaper
settings:WallPaperSettings

= Bool

Parameter Tree

InstallWallPaper
├── wallpaperInputWallPaper
│ ├── InputWallPaper
│ │ ├── idlong
│ │ └── access_hashlong
│ ├── InputWallPaperSlug
│ │ └── slugstring
│ └── InputWallPaperNoFile
│ └── idlong
└── settingsWallPaperSettings
├── blurtrue (optional)
├── motiontrue (optional)
├── background_colorint (optional)
├── second_background_colorint (optional)
├── third_background_colorint (optional)
├── fourth_background_colorint (optional)
├── intensityint (optional)
├── rotationint (optional)
└── emoticonstring (optional)

Example

await app.invoke(
    InstallWallPaper(
        wallpaper=InputWallPaper(
            id=0,
            access_hash=0
        ),
        settings=WallPaperSettings(
            blur=None,
            motion=None,
            background_color=None,
            second_background_color=None,
            third_background_color=None,
            fourth_background_color=None,
            intensity=None,
            rotation=None,
            emoticon=None
        ),
    )
)