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 intIdentifier uniquely determining type of the object.booleanTrue, if the model can be obtained only through gift crafting.Name of the model.The rarity of the model.The sticker representing the upgraded gift. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a model of an upgraded gift.UpgradedGiftModel(String name, TdApi.Sticker sticker, TdApi.UpgradedGiftAttributeRarity rarity, boolean isCrafted) Describes a model of an upgraded gift. -
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
-
name
Name of the model. -
sticker
The sticker representing the upgraded gift. -
rarity
The rarity of the model. -
isCrafted
public boolean isCraftedTrue, if the model can be obtained only through gift crafting. -
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
public UpgradedGiftModel(String name, TdApi.Sticker sticker, TdApi.UpgradedGiftAttributeRarity rarity, boolean isCrafted) Describes a model of an upgraded gift.- Parameters:
name- Name of the model.sticker- The sticker representing the upgraded gift.rarity- The rarity of the model.isCrafted- True, if the model can be obtained only through gift crafting.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-