payments.getStarGiftCollections
Fetches all star gift collections » of a peer.
Fetches all [star gift collections »](https://core.telegram.org/api/gifts.md#gift-collections) of a peer.
| Name | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | The peer. |
hash | long | Yes | Hash ([generated as specified here »](https://core.telegram.org/api/offsets.md#hash-generation)) using the [starGiftCollection](https://core.telegram.org/constructor/starGiftCollection.md).`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. |
Replies
payments.StarGiftCollections
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.