public static class TdApi.AccentColor extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int |
builtInAccentColorId
Identifier of a built-in color to use in places, where only one color is needed; 0-6.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int[] |
darkThemeColors
The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes.
|
int |
id
Accent color identifier.
|
int[] |
lightThemeColors
The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes.
|
int |
minChannelChatBoostLevel
The minimum chat boost level required to use the color in a channel chat.
|
| Constructor and Description |
|---|
AccentColor()
Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.
|
AccentColor(int id,
int builtInAccentColorId,
int[] lightThemeColors,
int[] darkThemeColors,
int minChannelChatBoostLevel)
Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int id
public int builtInAccentColorId
public int[] lightThemeColors
public int[] darkThemeColors
public int minChannelChatBoostLevel
public static final int CONSTRUCTOR
public AccentColor()
public AccentColor(int id,
int builtInAccentColorId,
int[] lightThemeColors,
int[] darkThemeColors,
int minChannelChatBoostLevel)
id - Accent color identifier.builtInAccentColorId - Identifier of a built-in color to use in places, where only one color is needed; 0-6.lightThemeColors - The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes.darkThemeColors - The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes.minChannelChatBoostLevel - The minimum chat boost level required to use the color in a channel chat.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object