Layer 220
PaymentsDeleteStarGiftCollection
Delete a star gift collection.
method
Users
payments.deleteStarGiftCollection#ad5648e8 peer:InputPeer collection_id:int = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Peer that owns the collection. |
| CollectionId | int | ID of the collection. |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// PaymentsDeleteStarGiftCollection - positional arguments result, err := client.PaymentsDeleteStarGiftCollection(&tg.InputPeerUser{UserID: int64(123456789)}, 0) if err != nil { // handle error } // result is *tg.Bool