Package org.drinkless.tdlib
Class TdApi.GiftBackground
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftBackground
- Enclosing class:
- TdApi
Describes background of a gift.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintCenter color in RGB format.static final intIdentifier uniquely determining type of the object.intEdge color in RGB format.intText color in RGB format. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes background of a gift.GiftBackground(int centerColor, int edgeColor, int textColor) Describes background of a 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
-
centerColor
public int centerColorCenter color in RGB format. -
edgeColor
public int edgeColorEdge color in RGB format. -
textColor
public int textColorText color in RGB format. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GiftBackground
public GiftBackground()Describes background of a gift. -
GiftBackground
public GiftBackground(int centerColor, int edgeColor, int textColor) Describes background of a gift.- Parameters:
centerColor- Center color in RGB format.edgeColor- Edge color in RGB format.textColor- Text color in RGB format.
-
-
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
-