Package org.drinkless.tdlib
Class TdApi.ThemeSettings
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ThemeSettings
-
- Enclosing class:
- TdApi
public static class TdApi.ThemeSettings extends TdApi.Object
Describes theme settings.
-
-
Field Summary
Fields Modifier and Type Field Description intaccentColorTheme accent color in ARGB format.booleananimateOutgoingMessageFillIf true, the freeform gradient fill needs to be animated on every sent message.TdApi.BackgroundbackgroundThe background to be used in chats; may be null.static intCONSTRUCTORIdentifier uniquely determining type of the object.intoutgoingMessageAccentColorAccent color of outgoing messages in ARGB format.TdApi.BackgroundFilloutgoingMessageFillThe fill to be used as a background for outgoing messages.
-
Constructor Summary
Constructors Constructor Description ThemeSettings()Describes theme settings.ThemeSettings(int accentColor, TdApi.Background background, TdApi.BackgroundFill outgoingMessageFill, boolean animateOutgoingMessageFill, int outgoingMessageAccentColor)Describes theme settings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
accentColor
public int accentColor
Theme accent color in ARGB format.
-
background
public TdApi.Background background
The background to be used in chats; may be null.
-
outgoingMessageFill
public TdApi.BackgroundFill outgoingMessageFill
The fill to be used as a background for outgoing messages.
-
animateOutgoingMessageFill
public boolean animateOutgoingMessageFill
If true, the freeform gradient fill needs to be animated on every sent message.
-
outgoingMessageAccentColor
public int outgoingMessageAccentColor
Accent color of outgoing messages in ARGB format.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-