Interface GetUserGifts

Returns gifts saved to profile by the given user. Request type for Tdjson#getUserGifts.

interface GetUserGifts {
    @type: "getUserGifts";
    limit: number;
    offset: string;
    user_id: number;
}

Properties

@type: "getUserGifts"
limit: number

The maximum number of gifts to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified limit.

offset: string

Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.

user_id: number

Identifier of the user.