java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ProfileAccentColors
- Enclosing class:
- TdApi
Contains information about supported accent colors for user profile
photo background in RGB format.
-
Field Summary
Modifier and TypeFieldDescriptionint[]
The list of 1-2 colors in RGB format, describing the colors, as expected to be used for the profile photo background.static final int
Identifier uniquely determining type of the object.int[]
The list of 1-2 colors in RGB format, describing the colors, as expected to be shown in the color palette settings.int[]
The list of 2 colors in RGB format, describing the colors of the gradient to be used for the unread active story indicator around profile photo. -
Constructor Summary
ConstructorDescriptionContains information about supported accent colors for user profile photo background in RGB format.ProfileAccentColors
(int[] paletteColors, int[] backgroundColors, int[] storyColors) Contains information about supported accent colors for user profile photo background in RGB format.ProfileAccentColors
(DataInput input) Contains information about supported accent colors for user profile photo background in RGB format. -
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
-
paletteColors
public int[] paletteColorsThe list of 1-2 colors in RGB format, describing the colors, as expected to be shown in the color palette settings. -
backgroundColors
public int[] backgroundColorsThe list of 1-2 colors in RGB format, describing the colors, as expected to be used for the profile photo background. -
storyColors
public int[] storyColorsThe list of 2 colors in RGB format, describing the colors of the gradient to be used for the unread active story indicator around profile photo. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ProfileAccentColors
public ProfileAccentColors()Contains information about supported accent colors for user profile photo background in RGB format. -
ProfileAccentColors
public ProfileAccentColors(int[] paletteColors, int[] backgroundColors, int[] storyColors) Contains information about supported accent colors for user profile photo background in RGB format.- Parameters:
paletteColors
- The list of 1-2 colors in RGB format, describing the colors, as expected to be shown in the color palette settings.backgroundColors
- The list of 1-2 colors in RGB format, describing the colors, as expected to be used for the profile photo background.storyColors
- The list of 2 colors in RGB format, describing the colors of the gradient to be used for the unread active story indicator around profile photo.
-
ProfileAccentColors
Contains information about supported accent colors for user profile photo background in RGB format.- 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()
-