Package org.drinkless.tdlib
Class TdApi.UpgradedGiftBackdrop
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UpgradedGiftBackdrop
- Enclosing class:
TdApi
Describes a backdrop of an upgraded gift.
-
Field Summary
FieldsModifier and TypeFieldDescriptionColors of the backdrop.static final intIdentifier uniquely determining type of the object.intUnique identifier of the backdrop.Name of the backdrop.The rarity of the backdrop. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a backdrop of an upgraded gift.UpgradedGiftBackdrop(int id, String name, TdApi.UpgradedGiftBackdropColors colors, TdApi.UpgradedGiftAttributeRarity rarity) Describes a backdrop 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
-
id
public int idUnique identifier of the backdrop. -
name
Name of the backdrop. -
colors
Colors of the backdrop. -
rarity
The rarity of the backdrop. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpgradedGiftBackdrop
public UpgradedGiftBackdrop()Describes a backdrop of an upgraded gift. -
UpgradedGiftBackdrop
public UpgradedGiftBackdrop(int id, String name, TdApi.UpgradedGiftBackdropColors colors, TdApi.UpgradedGiftAttributeRarity rarity) Describes a backdrop of an upgraded gift.- Parameters:
id- Unique identifier of the backdrop.name- Name of the backdrop.colors- Colors of the backdrop.rarity- The rarity of the backdrop.
-
-
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
-