Class TdApi.UpgradedGiftBackdrop

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

public static class TdApi.UpgradedGiftBackdrop extends TdApi.Object
Describes a backdrop of an upgraded gift.
  • Field Details

    • id

      public int id
      Unique identifier of the backdrop.
    • name

      public String name
      Name of the backdrop.
    • colors

      Colors of the backdrop.
    • rarityPerMille

      public int rarityPerMille
      The number of upgraded gifts that receive this backdrop for each 1000 gifts upgraded.
    • CONSTRUCTOR

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

    • UpgradedGiftBackdrop

      public UpgradedGiftBackdrop()
      Describes a backdrop of an upgraded gift.
    • UpgradedGiftBackdrop

      public UpgradedGiftBackdrop(int id, String name, TdApi.UpgradedGiftBackdropColors colors, int rarityPerMille)
      Describes a backdrop of an upgraded gift.
      Parameters:
      id - Unique identifier of the backdrop.
      name - Name of the backdrop.
      colors - Colors of the backdrop.
      rarityPerMille - The number of upgraded gifts that receive this backdrop for each 1000 gifts upgraded.
  • 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