Package org.drinkless.tdlib
Class TdApi.UpgradedGiftModel
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UpgradedGiftModel
- Enclosing class:
- TdApi
Describes a model of an upgraded gift.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Name of the model.int
The number of upgraded gifts that receive this model for each 1000 gifts upgraded.The sticker representing the upgraded gift. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a model of an upgraded gift.UpgradedGiftModel
(String name, TdApi.Sticker sticker, int rarityPerMille) Describes a model of an upgraded gift. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
name
Name of the model. -
sticker
The sticker representing the upgraded gift. -
rarityPerMille
public int rarityPerMilleThe number of upgraded gifts that receive this model for each 1000 gifts upgraded. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpgradedGiftModel
public UpgradedGiftModel()Describes a model of an upgraded gift. -
UpgradedGiftModel
Describes a model of an upgraded gift.- Parameters:
name
- Name of the model.sticker
- The sticker representing the upgraded gift.rarityPerMille
- The number of upgraded gifts that receive this model 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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-