Raw.account.UpdateColor

Raw.account.UpdateColor

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

account.updateColor#7cefa15d flags:# for_profile:flags.1?true color:flags.2?int background_emoji_id:flags.0?long = Bool;
export namespace Raw {
  export namespace account {
    export class UpdateColor {
      constructor(params: { forProfile?: boolean; color?: number; backgroundEmojiId?: bigint }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x7cefa15d

Property

  • forProfile : boolean or undefined

    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 : number or undefined

    Id of the accent color palette to use (not rgb24, see here for more info).

  • backgroundEmojiId : bigint or undefined

    Custom emoji id used in the accent color pattern.

Results

boolean