Class TdApi.UpdateAccentColors
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Update
dev.voroby.springframework.telegram.client.TdApi.UpdateAccentColors
- Enclosing class:
- TdApi
The list of supported accent colors has changed.
-
Field Summary
Modifier and TypeFieldDescriptionint[]
The list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor.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 final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionThe list of supported accent colors has changed.UpdateAccentColors
(TdApi.AccentColor[] colors, int[] availableAccentColorIds) The list of supported accent colors has changed. -
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
-
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
public int[] availableAccentColorIdsThe list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor. The colors must be shown in the specififed order. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateAccentColors
public UpdateAccentColors()The list of supported accent colors has changed. -
UpdateAccentColors
The list of supported accent colors has changed.- Parameters:
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 specififed order.
-
-
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
-