Class TdApi.ProfileAccentColors
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
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.
-
-
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
-