Layer 220
StarGiftAttributeCounter
Indicates the total number of gifts that have the specified attribute.
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. |
Returns
StarGiftAttributeCounterGogram Example
// Creating StarGiftAttributeCounter constructor obj := &tg.StarGiftAttributeCounter{ Attribute: &tg.StarGiftAttributeId{}, Count: 0, }