payments.toggleStarGiftsPinnedToTop
Pins a received gift on top of the profile of the user or owned channels by using payments.toggleStarGiftsPinnedToTop.
Pins a received gift on top of the profile of the user or owned channels by using [payments.toggleStarGiftsPinnedToTop](https://core.telegram.org/method/payments.toggleStarGiftsPinnedToTop.md).
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
peer | InputPeer | はい | The peer where to pin the gift. |
stargift | Vector<InputSavedStarGift> | はい | The gift to pin. |
レスポンス
Bool
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.