public static class TdApi.ThemeSettings extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
int |
accentColor
Theme accent color in ARGB format.
|
boolean |
animateOutgoingMessageFill
If true, the freeform gradient fill needs to be animated on every sent message.
|
TdApi.Background |
background
The background to be used in chats; may be null.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
outgoingMessageAccentColor
Accent color of outgoing messages in ARGB format.
|
TdApi.BackgroundFill |
outgoingMessageFill
The fill to be used as a background for outgoing messages.
|
Constructor and Description |
---|
ThemeSettings()
Describes theme settings.
|
ThemeSettings(int accentColor,
TdApi.Background background,
TdApi.BackgroundFill outgoingMessageFill,
boolean animateOutgoingMessageFill,
int outgoingMessageAccentColor)
Describes theme settings.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int accentColor
@Nullable public TdApi.Background background
public TdApi.BackgroundFill outgoingMessageFill
public boolean animateOutgoingMessageFill
public int outgoingMessageAccentColor
public static final int CONSTRUCTOR
public ThemeSettings()
public ThemeSettings(int accentColor, TdApi.Background background, TdApi.BackgroundFill outgoingMessageFill, boolean animateOutgoingMessageFill, int outgoingMessageAccentColor)
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.public int getConstructor()
getConstructor
in class TdApi.Object