teleproto - v1.229.0
    Preparing search index...

    Interface PaymentsGetResaleStarGiftsParams

    interface PaymentsGetResaleStarGiftsParams {
        attributes?: TypeStarGiftAttributeIdIn[];
        attributesHash?: BigInteger;
        forCraft?: boolean;
        giftId: BigInteger;
        limit: number;
        offset: string;
        sortByNum?: boolean;
        sortByPrice?: boolean;
        starsOnly?: boolean;
    }
    Index

    Optionally filter gifts with the specified attributes. If no attributes of a specific type are specified, all attributes of that type are allowed.

    attributesHash?: BigInteger

    If a previous call to the method was made and payments.resaleStarGifts . attributes_hash was set, pass it here to avoid returning any results if they haven't changed. Otherwise, set this flag and pass 0 to return payments.resaleStarGifts . attributes_hash and payments.resaleStarGifts . attributes , these two fields will not be set if this flag is not set.

    forCraft?: boolean
    giftId: BigInteger

    Mandatory identifier of the base gift from which the collectible gift was upgraded.

    limit: number

    Maximum number of results to return, see pagination

    offset: string

    Offset for pagination. If not equal to an empty string, payments.resaleStarGifts . counters will not be set to avoid returning the counters every time a new page is fetched.

    sortByNum?: boolean

    Sort gifts by number (ascending).

    sortByPrice?: boolean

    Sort gifts by price (ascending).

    starsOnly?: boolean