Package it.tdlight.jni
Class TdApi.ThemeSettings
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ThemeSettings
- Enclosing class:
- TdApi
public static class TdApi.ThemeSettings extends TdApi.Object
Describes theme settings.
-
Field Summary
Fields Modifier and Type Field Description int
accentColor
Theme accent color in ARGB format.boolean
animateMessageFill
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
TdApi.BackgroundFill
messageFill
The 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 messageFill, boolean animateMessageFill)
Describes theme settings.ThemeSettings(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
accentColor
public int accentColorTheme accent color in ARGB format. -
background
The background to be used in chats; may be null. -
messageFill
The fill to be used as a background for outgoing messages. -
animateMessageFill
public boolean animateMessageFillIf true, the freeform gradient fill needs to be animated on every sent message. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ThemeSettings
public ThemeSettings()Describes theme settings. -
ThemeSettings
public ThemeSettings(int accentColor, TdApi.Background background, TdApi.BackgroundFill messageFill, boolean animateMessageFill)Describes theme settings.- Parameters:
accentColor
- int Theme accent color in ARGB format.background
- Background The background to be used in chats; may be null.messageFill
- BackgroundFill The fill to be used as a background for outgoing messages.animateMessageFill
- boolean If true, the freeform gradient fill needs to be animated on every sent message.
-
ThemeSettings
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-