StarGiftAttributeBackdrop

class pyrogram.raw.types.StarGiftAttributeBackdrop

The backdrop of a collectible gift ».

Constructor of StarGiftAttribute.

Details:
  • Layer: 223

  • ID: 9F2504E4

Parameters:
  • name (str) – Name of the backdrop

  • backdrop_id (int 32-bit) – Unique ID of the backdrop

  • center_color (int 32-bit) – Color of the center of the backdrop in RGB24 format.

  • edge_color (int 32-bit) – Color of the edges of the backdrop in RGB24 format.

  • pattern_color (int 32-bit) – Color of the starGiftAttributePattern applied on the backdrop in RGB24 format.

  • text_color (int 32-bit) – Color of the text on the backdrop in RGB24 format.

  • rarity (StarGiftAttributeRarity)

TL Schema

starGiftAttributeBackdrop#9f2504e4
name:string
backdrop_id:int
center_color:int
edge_color:int
pattern_color:int
text_color:int
rarity:StarGiftAttributeRarity

= StarGiftAttribute

Parameter Tree

StarGiftAttributeBackdrop
├── namestring
├── backdrop_idint
├── center_colorint
├── edge_colorint
├── pattern_colorint
├── text_colorint
└── rarityStarGiftAttributeRarity

Example

StarGiftAttributeBackdrop(
    name="text",
    backdrop_id=0,
    center_color=0,
    edge_color=0,
    pattern_color=0,
    text_color=0,
    rarity=StarGiftAttributeRarity(permille=0),
)