Raw.account.UploadWallPaper
Create and upload a new wallpaper
account.uploadWallPaper#e39a8f03 flags:# for_chat:flags.0?true file:InputFile mime_type:string settings:WallPaperSettings = WallPaper;
export namespace Raw {
export namespace account {
export class UploadWallPaper {
constructor(params: {
forChat?: boolean;
file: Raw.TypeInputFile;
mimeType: string;
settings: Raw.TypeWallPaperSettings;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xe39a8f03
Property
forChat
: boolean or undefinedSet this flag when uploading wallpapers to be passed to messages.setchatwallpaper.
file
: Raw.TypeInputFileThe jpg/png wallpaper
mimeType
: stringMime type of uploaded wallpaper
settings
: Raw.TypeWallPaperSettingsWallpaper settings