Pins a received gift on top of the profile of the user or owned channels by using payments.toggleStarGiftsPinnedToTop.
Method schema is available as of layer 200. Switch ยป
Name | Type | Description |
---|---|---|
peer | InputPeer | The peer where to pin the gift. |
stargift | Vector<InputSavedStarGift> | The gift to pin. |
Code | Type | Description |
---|---|---|
400 | PEER_ID_INVALID | The provided peer id is invalid. |
Pins a received gift on top of the profile of the user or owned channels by using payments.toggleStarGiftsPinnedToTop.