Layer 220
constructor
starGiftAttributeCounter#2eb1b658 attribute:StarGiftAttributeId count:int = StarGiftAttributeCounter;

Parameters

Name Type Description
Attribute StarGiftAttributeId The attribute (just the ID, without the attribute itself).
Count int Total number of gifts with this attribute.

Gogram Example

// Creating StarGiftAttributeCounter constructor
obj := &tg.StarGiftAttributeCounter{
    Attribute: &tg.StarGiftAttributeId{},
    Count: 0,
}