StarGiftAttributeCounter

class pyrogram.raw.types.StarGiftAttributeCounter

Indicates the total number of gifts that have the specified attribute.

Constructor of StarGiftAttributeCounter.

Details:
  • Layer: 227

  • ID: 2EB1B658

Parameters:
  • attribute (StarGiftAttributeId) – The attribute (just the ID, without the attribute itself).

  • count (int 32-bit) – Total number of gifts with this attribute.

TL Schema

starGiftAttributeCounter#2eb1b658
attribute:StarGiftAttributeId
count:int

= StarGiftAttributeCounter

Parameter Tree

StarGiftAttributeCounter
├── attribute → StarGiftAttributeId
│ │ └── document_id → long
│ │ └── document_id → long
│ └── backdrop_id → int
└── count → int

Example

StarGiftAttributeCounter(
    attribute=StarGiftAttributeIdModel(document_id=0),
    count=0,
)