StarGiftAttributeBackdrop
- class pyrogram.raw.types.StarGiftAttributeBackdrop
The backdrop of a collectible gift ».
Constructor of
StarGiftAttribute.- Details:
Layer:
223ID:
9F2504E4
- Parameters:
name (
str) – Name of the backdropbackdrop_id (
int32-bit) – Unique ID of the backdropcenter_color (
int32-bit) – Color of the center of the backdrop in RGB24 format.edge_color (
int32-bit) – Color of the edges of the backdrop in RGB24 format.pattern_color (
int32-bit) – Color of the starGiftAttributePattern applied on the backdrop in RGB24 format.text_color (
int32-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
├── name →
string├── backdrop_id →
int├── center_color →
int├── edge_color →
int├── pattern_color →
int├── text_color →
int└── rarity →
StarGiftAttributeRarity│ └── permille →
intExample
StarGiftAttributeBackdrop(
name="text",
backdrop_id=0,
center_color=0,
edge_color=0,
pattern_color=0,
text_color=0,
rarity=StarGiftAttributeRarity(permille=0),
)