WallPaperSettings

class pyrogram.raw.types.WallPaperSettings

Wallpaper settings.

Constructor type of WallPaperSettings.

Details
  • Layer: 122

  • ID: 0x5086cf8

Parameters
  • blur (bool, optional) – If set, the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12.

  • motion (bool, optional) – If set, the background needs to be slightly moved when device is rotated.

  • background_color (int 32-bit, optional) – If set, a PNG pattern is to be combined with the color chosen by the user: the main color of the background in RGB24 format.

  • second_background_color (int 32-bit, optional) – If set, a PNG pattern is to be combined with the first and second background colors (RGB24 format) in a top-bottom gradient.

  • intensity (int 32-bit, optional) – Intensity of the pattern when it is shown above the main background color, 0-100.

  • rotation (int 32-bit, optional) – Clockwise rotation angle of the gradient, in degrees; 0-359. Should be always divisible by 45.