Package org.drinkless.tdlib
Class TdApi.UpgradedGiftBackdropColors
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UpgradedGiftBackdropColors
- Enclosing class:
- TdApi
Describes colors of a backdrop of an upgraded gift.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
A color in the center of the backdrop in the RGB format.static final int
Identifier uniquely determining type of the object.int
A color on the edges of the backdrop in the RGB format.int
A color to be applied for the symbol in the RGB format.int
A color for the text on the backdrop in the RGB format. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes colors of a backdrop of an upgraded gift.UpgradedGiftBackdropColors
(int centerColor, int edgeColor, int symbolColor, int textColor) Describes colors of 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
-
centerColor
public int centerColorA color in the center of the backdrop in the RGB format. -
edgeColor
public int edgeColorA color on the edges of the backdrop in the RGB format. -
symbolColor
public int symbolColorA color to be applied for the symbol in the RGB format. -
textColor
public int textColorA color for the text on the backdrop in the RGB format. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpgradedGiftBackdropColors
public UpgradedGiftBackdropColors()Describes colors of a backdrop of an upgraded gift. -
UpgradedGiftBackdropColors
public UpgradedGiftBackdropColors(int centerColor, int edgeColor, int symbolColor, int textColor) Describes colors of a backdrop of an upgraded gift.- Parameters:
centerColor
- A color in the center of the backdrop in the RGB format.edgeColor
- A color on the edges of the backdrop in the RGB format.symbolColor
- A color to be applied for the symbol in the RGB format.textColor
- A color for the text on the backdrop in the RGB format.
-
-
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
-