getClaimedGifts

Get gifts claimed by a user or a channel. User-only.

Parameters

chatId: ID

The identifier of a user or a channel to get gifts for.

offset?: string

An offset key returned by a previous result.

limit?: number

The maximum number of results to return.

Result

Syntax

// Required parameters only.
await client.getClaimedGifts(chatId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.getClaimedGifts(chatId, { offset, limit });