Class TdApi.GiftBackground

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftBackground
Enclosing class:
TdApi

public static class TdApi.GiftBackground extends TdApi.Object
Describes background of a gift.
  • Field Details

    • centerColor

      public int centerColor
      Center color in RGB format.
    • edgeColor

      public int edgeColor
      Edge color in RGB format.
    • textColor

      public int textColor
      Text color in RGB format.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GiftBackground

      public GiftBackground()
      Describes background of a gift.
    • GiftBackground

      public GiftBackground(int centerColor, int edgeColor, int textColor)
      Describes background of a gift.
      Parameters:
      centerColor - Center color in RGB format.
      edgeColor - Edge color in RGB format.
      textColor - Text color in RGB format.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR