Interface UpdateAccentColors

The list of supported accent colors has changed. Subtype of Update.

interface UpdateAccentColors {
    @type: "updateAccentColors";
    available_accent_color_ids: number[];
    colors: AccentColor[];
}

Properties

@type: "updateAccentColors"
available_accent_color_ids: number[]

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

colors: 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 app theme.