Package org.drinkless.tdlib
Class TdApi.UpgradedGiftAttributeRarityPerMille
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UpgradedGiftAttributeRarity
org.drinkless.tdlib.TdApi.UpgradedGiftAttributeRarityPerMille
- Enclosing class:
TdApi
public static class TdApi.UpgradedGiftAttributeRarityPerMille
extends TdApi.UpgradedGiftAttributeRarity
The rarity is represented as the numeric frequency of the model.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.UpgradedGiftAttributeRarity
TdApi.UpgradedGiftAttributeRarity.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intThe number of upgraded gifts that receive this attribute for each 1000 gifts upgraded; if 0, then it can be shown as "<0.1%". -
Constructor Summary
ConstructorsConstructorDescriptionThe rarity is represented as the numeric frequency of the model.UpgradedGiftAttributeRarityPerMille(int perMille) The rarity is represented as the numeric frequency of the model. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
perMille
public int perMilleThe 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 CONSTRUCTORIdentifier 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
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.UpgradedGiftAttributeRarity- Returns:
- this.CONSTRUCTOR
-