Interface SetChatProfileAccentColor

Changes accent color and background custom emoji for profile of a supergroup or channel chat. Requires can_change_info administrator right. Request type for Tdjson#setChatProfileAccentColor.

interface SetChatProfileAccentColor {
    @type: "setChatProfileAccentColor";
    chat_id: number;
    profile_accent_color_id: number;
    profile_background_custom_emoji_id: string;
}

Properties

@type: "setChatProfileAccentColor"
chat_id: number

Chat identifier.

profile_accent_color_id: number

Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color.

profile_background_custom_emoji_id: string

Identifier of a custom emoji to be shown on the chat's profile photo background; 0 if none. Use chatBoostLevelFeatures.can_set_profile_background_custom_emoji to check whether a custom emoji can be set.