starGiftCollection
Represents a star gift collection ».
type tg.StarGiftCollection struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
CollectionID | int | yes | The ID of the collection. |
Title | string | yes | Title of the collection. |
Icon | DocumentClass | — | Optional icon for the collection, taken from the first gift in the collection. |
GiftsCount | int | yes | Number of gifts in the collection. |
Hash | int64 | yes | Field to use instead of collection_id when generating the hash to pass to payments getStarGiftCollections. |
Returned by
References
- Official documentation
- Generated Go reference
- TL definition:
starGiftCollection#9d6b13b0