public static class TdApi.ProfileAccentColors extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int[] |
backgroundColors
The list of 1-2 colors in RGB format, describing the colors, as expected to be used for the profile photo background.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int[] |
paletteColors
The list of 1-2 colors in RGB format, describing the colors, as expected to be shown in the color palette settings.
|
int[] |
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.
|
| Constructor and Description |
|---|
ProfileAccentColors()
Contains 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int[] paletteColors
public int[] backgroundColors
public int[] storyColors
public static final int CONSTRUCTOR
public ProfileAccentColors()
public ProfileAccentColors(int[] paletteColors,
int[] backgroundColors,
int[] storyColors)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object