getUserGifts

Get gifts claimed by a specific user. User-only.

Parameters

userId: ID

The identifier of the user 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.getUserGifts(userId);

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