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