Interface GetGiftsForCrafting

Returns upgraded gifts of the current user who can be used to craft another gifts. Request type for Tdjson#getGiftsForCrafting.

interface GetGiftsForCrafting {
    @type: "getGiftsForCrafting";
    limit: number;
    offset: string;
    regular_gift_id: string;
}

Properties

@type: "getGiftsForCrafting"
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.

regular_gift_id: string

Identifier of the regular gift that will be used for crafting.