Class TdApi.UpgradedGiftSymbol

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

public static class TdApi.UpgradedGiftSymbol extends TdApi.Object
Describes a symbol shown on the pattern of an upgraded gift.
  • Field Details

    • name

      public String name
      Name of the symbol.
    • sticker

      public TdApi.Sticker sticker
      The sticker representing the symbol.
    • rarityPerMille

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

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

    • UpgradedGiftSymbol

      public UpgradedGiftSymbol()
      Describes a symbol shown on the pattern of an upgraded gift.
    • UpgradedGiftSymbol

      public UpgradedGiftSymbol(String name, TdApi.Sticker sticker, int rarityPerMille)
      Describes a symbol shown on the pattern of an upgraded gift.
      Parameters:
      name - Name of the symbol.
      sticker - The sticker representing the symbol.
      rarityPerMille - The number of upgraded gifts that receive this symbol 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