• Preparing search index...
  • The search index is not available
Documentation - v0.23.3
  • Documentation
  • @mtcute/core
  • highlevel/methods
  • togglePinnedStarGifts

Function togglePinnedStarGifts

  • togglePinnedStarGifts(
        client: ITelegramClient,
        params: { gifts: MaybeArray<InputStarGift>; peer: InputPeerLike },
    ): Promise<void>
  • Toggles whether one or more star gift is pinned to the top of the list

    Parameters

    • client: ITelegramClient
    • params: { gifts: MaybeArray<InputStarGift>; peer: InputPeerLike }
      • gifts: MaybeArray<InputStarGift>

        One or more gifts to pin

      • peer: InputPeerLike

        Peer where the gift is sent

    Returns Promise<void>

    • Defined in packages/core/src/highlevel/methods/premium/pin-star-gift.ts:12

Settings

Member Visibility
Documentation - v0.23.3
  • Loading...

Generated using TypeDoc