createGiftCollection

Create a gift collection.

Parameters

chatId: ID

The identifier of a chat to create the gift collection in.

name: string

The name of the collection.

gifts: InputGift[]

The collection’s initial gifts.

Result

Syntax

await client.createGiftCollection(chatId, name, gifts);