Machine-readable version of this page: /method/payments.toggleStarGiftsPinnedToTop.md.

payments.toggleStarGiftsPinnedToTop

Pins a received gift on top of the profile of the user or owned channels by using payments.toggleStarGiftsPinnedToTop.

 메서드 스키마는 레이어 200부터 사용할 수 있습니다. 전환 »

Parameters

Name Type Description
peer InputPeer The peer where to pin the gift.
stargift Vector<InputSavedStarGift> The gift to pin.

Result

Bool

Only users can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

payments.toggleStarGiftsPinnedToTop

Pins a received gift on top of the profile of the user or owned channels by using payments.toggleStarGiftsPinnedToTop.