Class BackgroundFill

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

public class BackgroundFill extends Object
This object describes the way a background is filled based on the selected colors
Since:
3 March 2025
Author:
Natanim
  • Field Details

    • type

      private BackgroundFillType type
      Type of the background fill
    • color

      private Integer color
      The color of the background fill in the RGB24 format
    • topColor

      @SerializedName("top_color") private Integer topColor
      Top color of the gradient in the RGB24 format
    • bottomColor

      @SerializedName("bottom_color") private Integer bottomColor
      Bottom color of the gradient in the RGB24 format
    • rotationAngle

      @SerializedName("rotation_angle") private Integer rotationAngle
      Clockwise rotation angle of the background fill in degrees; 0-359
    • colors

      private List<Integer> colors
      A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format
  • Constructor Details

    • BackgroundFill

      public BackgroundFill()
  • Method Details