Layer 220
PaymentsReorderStarGiftCollections
Reorder the star gift collections on an owned peer's profile.
method
Users
payments.reorderStarGiftCollections#c32af4cc peer:InputPeer order:Vector<int> = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | The owned peer. |
| Order | Vector<int> | New collection order. |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// PaymentsReorderStarGiftCollections - positional arguments result, err := client.PaymentsReorderStarGiftCollections(&tg.InputPeerUser{UserID: int64(123456789)}, []int{}) if err != nil { // handle error } // result is *tg.Bool