payments.deleteStarGiftCollection #
Delete a star gift collection ».¶
Layer 223
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
payments.deleteStarGiftCollection#ad5648e8 peer:InputPeer collection_id:int = Bool; Parameters #
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | Peer that owns the collection. |
| collection_id | int | ID of the collection. |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Related pages #
Telegram Gifts #
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.¶