Skip to content

setProfileAccentColor

Function · TDLib 1.8.67 · d1085f9c

Changes accent color and background custom emoji for profile of the current user; for Telegram Premium users only

setProfileAccentColor(
  profile_accent_color_id: int32,
  profile_background_custom_emoji_id: int64
) → Ok

profile_accent_color_id

int32

Identifier of the accent color to use for profile; pass -1 if none

profile_background_custom_emoji_id

int64

Identifier of a custom emoji to be shown on the user's profile photo background; 0 if none