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 int
Identifier uniquely determining type of the object.int
Unique identifier of the backdrop.Name of the backdrop.int
The number of upgraded gifts that receive this backdrop for each 1000 gifts upgraded. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a backdrop of an upgraded gift.UpgradedGiftBackdrop
(int id, String name, TdApi.UpgradedGiftBackdropColors colors, int rarityPerMille) Describes a backdrop 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
-
id
public int idUnique identifier of the backdrop. -
name
Name of the backdrop. -
colors
Colors of the backdrop. -
rarityPerMille
public int rarityPerMilleThe number of upgraded gifts that receive this backdrop for each 1000 gifts upgraded. -
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, int rarityPerMille) Describes a backdrop of an upgraded gift.- Parameters:
id
- Unique identifier of the backdrop.name
- Name of the backdrop.colors
- Colors of the backdrop.rarityPerMille
- The number of upgraded gifts that receive this backdrop 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
-