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).
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | The peer where to pin the gift. |
stargift | Vector<InputSavedStarGift> | Ja | The gift to pin. |
Antworten
Bool
MTProto RPC
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.