PeerColorCollectible

class pyrogram.raw.types.PeerColorCollectible

{schema}

Constructor of PeerColor.

Details:
  • Layer: 223

  • ID: B9C0639A

Parameters:
  • collectible_id (int 64-bit)

  • gift_emoji_id (int 64-bit)

  • background_emoji_id (int 64-bit)

  • accent_color (int 32-bit)

  • colors (List of int 32-bit)

  • dark_accent_color (int 32-bit, optional)

  • dark_colors (List of int 32-bit, optional)

TL Schema

peerColorCollectible#b9c0639a
flags:#
collectible_id:long
gift_emoji_id:long
background_emoji_id:long
accent_color:int
colors:Vector<int>
dark_accent_color:flags.0?int
dark_colors:flags.1?Vector<int>

= PeerColor

Parameter Tree

PeerColorCollectible
├── collectible_idlong
├── gift_emoji_idlong
├── background_emoji_idlong
├── accent_colorint
├── colorsVector < int >
├── dark_accent_colorint (optional)
└── dark_colorsVector < int > (optional)

Example

PeerColorCollectible(
    collectible_id=0,
    gift_emoji_id=0,
    background_emoji_id=0,
    accent_color=0,
    colors=[0],
)