Constructor: starGiftCollection
Represents a star gift collection ».
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| collection_id | int | Yes | The ID of the collection. |
| title | string | Yes | Title of the collection. |
| icon | Document | Optional | Optional icon for the collection, taken from the first gift in the collection. |
| gifts_count | int | Yes | Number of gifts in the collection. |
| hash | long | Yes | Field to use instead of collection_id when generating the hash to pass to payments.getStarGiftCollections. |
Type: StarGiftCollection
Example:
$starGiftCollection = ['_' => 'starGiftCollection', 'collection_id' => int, 'title' => 'string', 'icon' => Document, 'gifts_count' => int, 'hash' => long];