UploadWallPaper

class pyrogram.raw.functions.account.UploadWallPaper

Create and upload a new wallpaper.

Details
  • Layer: 126

  • ID: 0xdd853661

Parameters
  • file (InputFile) – The JPG/PNG wallpaper.

  • mime_type (str) – MIME type of uploaded wallpaper.

  • settings (WallPaperSettings) – Wallpaper settings.

Returns

WallPaper – Object contains info on a wallpaper.