StarGiftAttributeBackdrop#

class pyrogram.raw.types.StarGiftAttributeBackdrop#

The backdrop of a collectible gift .

Constructor of StarGiftAttribute.

Details:
  • Layer: 211

  • ID: D93D859C

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_permille (int 32-bit) – The number of upgraded gifts that receive this backdrop for each 1000 gifts upgraded.