java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ThemeSettings
- Enclosing class:
- TdApi
Describes theme settings.
-
Field Summary
Modifier and TypeFieldDescriptionint
Theme accent color in ARGB format.boolean
If 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 int
Identifier uniquely determining type of the object.int
Accent color of outgoing messages in ARGB format.The fill to be used as a background for outgoing messages. -
Constructor Summary
ConstructorDescriptionDescribes theme settings.ThemeSettings
(int accentColor, TdApi.Background background, TdApi.BackgroundFill outgoingMessageFill, boolean animateOutgoingMessageFill, int outgoingMessageAccentColor) Describes theme settings.ThemeSettings
(DataInput input) Describes theme settings. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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. -
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.
-
ThemeSettings
Describes theme settings.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-