Skip to content

BackgroundTypePattern

Type · TDLib 1.8.67 · d1085f9c

A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user

BackgroundTypePattern(
  fill: BackgroundFill,
  intensity: int32,
  is_inverted: Bool,
  is_moving: Bool
) → BackgroundType

fill

BackgroundFill

Fill of the background

intensity

int32

Intensity of the pattern when it is shown above the filled background; 0-100

is_inverted

Bool

True, if the background fill must be applied only to the pattern itself. All other pixels are black in this case. For dark themes only

is_moving

Bool

True, if the background needs to be slightly moved when device is tilted