Raw.PeerColor

Raw.PeerColor

Represents a color palette.

peerColor#b54b5acf flags:# color:flags.0?int background_emoji_id:flags.1?long = PeerColor;
export namespace Raw {
  export class PeerColor {
    constructor(params: { color?: number; backgroundEmojiId?: bigint }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xb54b5acf

Property

  • color : number or undefined

    Color palette id, see here for more info; if not set, the default palette should be used.

  • backgroundEmojiId : bigint or undefined

    Optional custom emoji id used to generate the pattern.