setGiftCollectionName

Set the name of a gift collection.

Parameters

chatId: ID

The identifier of the chat that includes the gift collection.

collectionId: number

The identifier of a gift collection.

name: string

The gift collection’s new name.

Result

Syntax

await client.setGiftCollectionName(chatId, collectionId, name);