Class BackgroundType

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

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

    • type

      Type of the background
    • themeName

      @SerializedName("theme_name") private String themeName
      Name of the chat theme, which is usually an emoji
    • fill

      private BackgroundFill fill
      The background fill that is combined with the pattern
    • darkThemeDimming

      @SerializedName("dark_theme_dimming") private Integer darkThemeDimming
      Dimming of the background in dark themes, as a percentage; 0-100
    • intensity

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

      private Document document
      Document with the pattern
    • isBlurred

      @SerializedName("is_blurred") private Boolean isBlurred
      True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12
    • isMoving

      @SerializedName("is_moving") private Boolean isMoving
      True, if the background moves slightly when the device is tilted
    • isInverted

      @SerializedName("is_inverted") private Boolean isInverted
      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()
  • Method Details

    • getType

      public BackgroundTypeType getType()
    • getThemeName

      public String getThemeName()
    • getFill

      public BackgroundFill getFill()
    • getDarkThemeDimming

      public Integer getDarkThemeDimming()
    • getIntensity

      public Integer getIntensity()
    • getDocument

      public Document getDocument()
    • getIsBlurred

      public Boolean getIsBlurred()
    • getIsMoving

      public Boolean getIsMoving()
    • getIsInverted

      public Boolean getIsInverted()