Information about colors of a chat

Constructors

Properties

Accessors

Constructors

Properties

Accessors

  • get backgroundEmojiId(): null | Long
  • ID of the emoji that should be used as a background pattern when rendering the color

    Returns null | Long

  • get color(): number
  • Color ID

    Note that this value is not an RGB color representation. Instead, it is a number which should be used to pick a color from a predefined list of colors:

    • 0-6 are the default colors used by Telegram clients: red, orange, purple, green, sea, blue, pink
    • >= 7 are returned by help.getAppConfig.

    Returns number