Raw.WallPaper
Represents a wallpaper based on an image.
wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper;
export namespace Raw {
export class WallPaper {
constructor(params: {
id: bigint;
creator?: boolean;
default?: boolean;
pattern?: boolean;
dark?: boolean;
accessHash: bigint;
slug: string;
document: Raw.TypeDocument;
settings?: Raw.TypeWallPaperSettings;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xa437c3ed
Property
id
: bigintIdentifier
creator
: boolean or undefinedWhether we created this wallpaper
default
: boolean or undefinedWhether this is the default wallpaper
pattern
: boolean or undefinedWhether this is a pattern wallpaper
dark
: boolean or undefinedWhether this wallpaper should be used in dark mode.
accessHash
: bigintAccess hash
slug
: stringUnique wallpaper id, used when generating wallpaper links or importing wallpaper links.
document
: Raw.TypeDocumentThe actual wallpaper
settings
: Raw.TypeWallPaperSettings or undefinedInfo on how to generate the wallpaper, according to these instructions.