reorderGiftsInCollection

Reorder gifts in a gift collection. USER-ONLY

Parameters

chatId: ID

The identifier of the chat that includes the gift collection.

collectionId: number

The identifier of a gift collection.

gifts: InputGift[]

The new order of gifts.

Result

Syntax

await client.reorderGiftsInCollection(chatId, collectionId, gifts);