transferGift

Transfer a gift. USER-ONLY

Parameters

chatId: ID

The identifier of a chat to transfer the gift to.

gift: InputGift

The gift to transfer.

Result

void

Syntax

await client.transferGift(chatId, gift);