Skip to content

UpdateChatAccentColors

Update · TDLib 1.8.67 · d1085f9c

Chat accent colors have changed

UpdateChatAccentColors(
  chat_id: int53,
  accent_color_id: int32,
  background_custom_emoji_id: int64,
  upgraded_gift_colors: UpgradedGiftColors,
  profile_accent_color_id: int32,
  profile_background_custom_emoji_id: int64
) → Update

chat_id

int53

Chat identifier

accent_color_id

int32

The new chat accent color identifier

background_custom_emoji_id

int64

The new identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none

upgraded_gift_colors

UpgradedGiftColors

Color scheme based on an upgraded gift to be used for the chat instead of accent_color_id and background_custom_emoji_id; may be null if none

profile_accent_color_id

int32

The new chat profile accent color identifier; -1 if none

profile_background_custom_emoji_id

int64

The new identifier of a custom emoji to be shown on the profile background; 0 if none