Class BackgroundType

java.lang.Object
io.github.natanimn.telebof.types.BackgroundType

public class BackgroundType extends Object
This object describes the type of a background.
Since:
3 March 2025
  • Field Details

    • type

      public BackgroundTypeType type
      Type of the background
    • theme_name

      public String theme_name
      Name of the chat theme, which is usually an emoji
    • fill

      public BackgroundFill fill
      The background fill that is combined with the pattern
    • dark_theme_dimming

      public Integer dark_theme_dimming
      Dimming of the background in dark themes, as a percentage; 0-100
    • intensity

      public Integer intensity
      Intensity of the pattern when it is shown above the filled background; 0-100
    • document

      public Document document
      Document with the pattern
    • is_blurred

      public Boolean is_blurred
      True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12
    • is_moving

      public Boolean is_moving
      True, if the background moves slightly when the device is tilted
    • is_inverted

      public Boolean is_inverted
      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
  • Constructor Details

    • BackgroundType

      public BackgroundType()