StarGiftAttributeCounter

class pyrogram.raw.types.StarGiftAttributeCounter

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

Constructor of StarGiftAttributeCounter.

Details:
  • Layer: 223

  • 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
├── attributeStarGiftAttributeId
│ │ └── document_idlong
│ │ └── document_idlong
│ └── backdrop_idint
└── countint

Example

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