Skip to content

UpdateAccentColors

Update · TDLib 1.8.67 · d1085f9c

The list of supported accent colors has changed

UpdateAccentColors(
  colors: list of AccentColor,
  available_accent_color_ids: list of int32
) → Update

colors

list of AccentColor

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 application theme

available_accent_color_ids

list of int32

The list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor. The colors must be shown in the specified order