Class TdApi.UpgradedGiftAttributeRarityPerMille

Enclosing class:
TdApi

public static class TdApi.UpgradedGiftAttributeRarityPerMille extends TdApi.UpgradedGiftAttributeRarity
The rarity is represented as the numeric frequency of the model.
  • Field Details

    • perMille

      public int perMille
      The number of upgraded gifts that receive this attribute for each 1000 gifts upgraded; if 0, then it can be shown as "<0.1%".
    • CONSTRUCTOR

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

    • UpgradedGiftAttributeRarityPerMille

      public UpgradedGiftAttributeRarityPerMille()
      The rarity is represented as the numeric frequency of the model.
    • UpgradedGiftAttributeRarityPerMille

      public UpgradedGiftAttributeRarityPerMille(int perMille)
      The rarity is represented as the numeric frequency of the model.
      Parameters:
      perMille - The number of upgraded gifts that receive this attribute for each 1000 gifts upgraded; if 0, then it can be shown as "<0.1%".
  • Method Details