account.UploadWallPaper#
- class pyrogram.raw.functions.account.UploadWallPaper#
Create and upload a new wallpaper
- Details:
Layer:
214ID:
E39A8F03
- Parameters:
file (
InputFile) – The JPG/PNG wallpapermime_type (
str) – MIME type of uploaded wallpapersettings (
WallPaperSettings) – Wallpaper settingsfor_chat (
bool, optional) – Set this flag when uploading wallpapers to be passed to messages.setChatWallPaper.
- Returns: