Package org.drinkless.tdlib
Class TdApi.ThemeSettings
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ThemeSettings
- Enclosing class:
- TdApi
Describes theme settings.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintTheme accent color in ARGB format.booleanIf true, the freeform gradient fill needs to be animated on every sent message.The background to be used in chats; may be null.static final intIdentifier uniquely determining type of the object.intAccent color of outgoing messages in ARGB format.The fill to be used as a background for outgoing messages. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes theme settings.ThemeSettings(int accentColor, TdApi.Background background, TdApi.BackgroundFill outgoingMessageFill, boolean animateOutgoingMessageFill, int outgoingMessageAccentColor) Describes theme settings. -
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
-
accentColor
public int accentColorTheme accent color in ARGB format. -
background
The background to be used in chats; may be null. -
outgoingMessageFill
The fill to be used as a background for outgoing messages. -
animateOutgoingMessageFill
public boolean animateOutgoingMessageFillIf true, the freeform gradient fill needs to be animated on every sent message. -
outgoingMessageAccentColor
public int outgoingMessageAccentColorAccent color of outgoing messages in ARGB format. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ThemeSettings
public ThemeSettings()Describes theme settings. -
ThemeSettings
public ThemeSettings(int accentColor, TdApi.Background background, TdApi.BackgroundFill outgoingMessageFill, boolean animateOutgoingMessageFill, int outgoingMessageAccentColor) Describes theme settings.- Parameters:
accentColor- Theme accent color in ARGB format.background- The background to be used in chats; may be null.outgoingMessageFill- The fill to be used as a background for outgoing messages.animateOutgoingMessageFill- If true, the freeform gradient fill needs to be animated on every sent message.outgoingMessageAccentColor- Accent color of outgoing messages in ARGB 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
-