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:
229ID:
B9C0639A
- Parameters:
collectible_id (
int64-bit) – ID of the collectible gift ».gift_emoji_id (
int64-bit) – Custom emoji ID » of the collectible gift: a single copy of this custom emoji should be displayed as-is (without recoloring it, unlike forbackground_emoji_id) in the top-right corner of the palette.background_emoji_id (
int64-bit) – Custom emoji ID » used to generate the pattern.accent_color (
int32-bit) – Accent color in RGB24 format, used for reply backgrounds and the user’s name in messages.colors (List of
int32-bit) – 1-3 RGB24 colors to be used in the reply strip.dark_accent_color (
int32-bit, optional) – Accent color in RGB24 format, used for reply backgrounds and the user’s name in messages in dark mode (fallback toaccent_colorif absent).dark_colors (List of
int32-bit, optional) – 1-3 RGB24 colors to be used in the reply strip in dark mode (fallback tocolorsif absent).