public static class TdApi.UpdateAccentColors extends TdApi.Update
| Modifier and Type | Field and Description |
|---|---|
int[] |
availableAccentColorIds
The list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor.
|
TdApi.AccentColor[] |
colors
Information about supported colors; colors with identifiers 0 (red), 1 (orange), 2 (purple/violet), 3 (green), 4 (cyan), 5 (blue), 6 (pink) must always be supported and aren't included in the list.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
UpdateAccentColors()
The list of supported accent colors has changed.
|
UpdateAccentColors(TdApi.AccentColor[] colors,
int[] availableAccentColorIds)
The list of supported accent colors has changed.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.AccentColor[] colors
public int[] availableAccentColorIds
public static final int CONSTRUCTOR
public UpdateAccentColors()
public UpdateAccentColors(TdApi.AccentColor[] colors, int[] availableAccentColorIds)
colors - Information about supported colors; colors with identifiers 0 (red), 1 (orange), 2 (purple/violet), 3 (green), 4 (cyan), 5 (blue), 6 (pink) must always be supported and aren't included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the app theme.availableAccentColorIds - The list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor. The colors must be shown in the specified order.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object