Interface ProfileAccentColor

Contains information about supported accent color for user profile photo background.

interface ProfileAccentColor {
    @type: "profileAccentColor";
    dark_theme_colors: ProfileAccentColors;
    id: number;
    light_theme_colors: ProfileAccentColors;
    min_channel_chat_boost_level: number;
    min_supergroup_chat_boost_level: number;
}

Properties

@type: "profileAccentColor"
dark_theme_colors: ProfileAccentColors

Accent colors expected to be used in dark themes.

id: number

Profile accent color identifier.

light_theme_colors: ProfileAccentColors

Accent colors expected to be used in light themes.

min_channel_chat_boost_level: number

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

min_supergroup_chat_boost_level: number

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