PeerColorCollectible

class pyrogram.raw.types.PeerColorCollectible[source]

Represents a color palette » associated to a collectible gift », see here » for more info.

Constructor of PeerColor.

Details:
  • Layer: 229

  • ID: B9C0639A

Parameters:
  • collectible_id (int 64-bit) – ID of the collectible gift ».

  • gift_emoji_id (int 64-bit) – Custom emoji ID » of the collectible gift: a single copy of this custom emoji should be displayed as-is (without recoloring it, unlike for background_emoji_id ) in the top-right corner of the palette.

  • background_emoji_id (int 64-bit) – Custom emoji ID » used to generate the pattern.

  • accent_color (int 32-bit) – Accent color in RGB24 format, used for reply backgrounds and the user’s name in messages.

  • colors (List of int 32-bit) – 1-3 RGB24 colors to be used in the reply strip.

  • dark_accent_color (int 32-bit, optional) – Accent color in RGB24 format, used for reply backgrounds and the user’s name in messages in dark mode (fallback to accent_color if absent).

  • dark_colors (List of int 32-bit, optional) – 1-3 RGB24 colors to be used in the reply strip in dark mode (fallback to colors if absent).