Skip to content

AccentColor

Type · TDLib 1.8.67 · d1085f9c

Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews

AccentColor(
  id: int32,
  built_in_accent_color_id: int32,
  light_theme_colors: list of int32,
  dark_theme_colors: list of int32,
  min_channel_chat_boost_level: int32
) → AccentColor

id

int32

Accent color identifier

built_in_accent_color_id

int32

Identifier of a built-in color to use in places, where only one color is needed; 0-6

light_theme_colors

list of int32

The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes

dark_theme_colors

list of int32

The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes

min_channel_chat_boost_level

int32

The minimum chat boost level required to use the color in a channel chat