Fetches all star gift collections » of a peer.
Method schema is available as of layer 210. Switch »
Name | Type | Description |
---|---|---|
peer | InputPeer | The peer. |
hash | long | Hash (generated as specified here ») using the starGiftCollection.hash field (not the collection_id field) of all collections returned by a previous method call, to avoid refetching the result if it hasn't changed. |
Code | Type | Description |
---|---|---|
400 | PEER_ID_INVALID | The provided peer id is invalid. |
How to fetch results from large lists of objects.
Represents a star gift collection ».
Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.