Raw.WallPaperSettings

Raw.WallPaperSettings

Wallpaper rendering information.

wallPaperSettings#372efcd0 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int third_background_color:flags.5?int fourth_background_color:flags.6?int intensity:flags.3?int rotation:flags.4?int emoticon:flags.7?string = WallPaperSettings;
export namespace Raw {
  export class WallPaperSettings {
    constructor(params: {
      blur?: boolean;
      motion?: boolean;
      backgroundColor?: number;
      secondBackgroundColor?: number;
      thirdBackgroundColor?: number;
      fourthBackgroundColor?: number;
      intensity?: number;
      rotation?: number;
      emoticon?: string;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x372efcd0

Property

  • blur : boolean or undefined

    For image wallpapers : if set, the jpeg must be downscaled to fit in 450x450 square and then box-blurred with radius 12.

  • motion : boolean or undefined

    If set, the background needs to be slightly moved when the device is rotated.

  • backgroundColor : number or undefined

    Used for solid, gradient and freeform gradient fills.

  • secondBackgroundColor : number or undefined

    Used for gradient and freeform gradient fills.

  • thirdBackgroundColor : number or undefined

    Used for freeform gradient fills.

  • fourthBackgroundColor : number or undefined

    Used for freeform gradient fills.

  • intensity : number or undefined

    Used for pattern wallpapers.

  • rotation : number or undefined

    Clockwise rotation angle of the gradient, in degrees; 0-359. should be always divisible by 45.

  • emoticon : string or undefined

    If set, this wallpaper can be used as a channel wallpaper and is represented by the specified utf-8 emoji.