account.UpdateColor

class pyrogram.raw.functions.account.UpdateColor

Update the accent color and background custom emoji » of the current account.

Details:
  • Layer: 187

  • ID: 7CEFA15D

Parameters:
  • for_profile (bool, optional) – Whether to change the accent color emoji pattern of the profile page; otherwise, the accent color and emoji pattern of messages will be changed.

  • color (int 32-bit, optional) – ID of the accent color palette » to use (not RGB24, see here » for more info).

  • background_emoji_id (int 64-bit, optional) – Custom emoji ID used in the accent color pattern.

Returns:

bool