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 | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | The peer. |
hash | long | Ja | 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. |
Antworten
payments.StarGiftCollections
MTProto RPC
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.