telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface GetUserGiftsOptions

    Options for Bot.getUserGifts (excludes the positional user_id).

    Declared directly rather than aliased to GiftQueryOptions because the fidelity audit resolves only interface declarations, never type aliases, when measuring which params a method can send.

    interface GetUserGiftsOptions {
        exclude_from_blockchain?: boolean;
        exclude_limited_non_upgradable?: boolean;
        exclude_limited_upgradable?: boolean;
        exclude_unique?: boolean;
        exclude_unlimited?: boolean;
        limit?: number;
        offset?: string;
        sort_by_price?: boolean;
    }
    Index
    exclude_from_blockchain?: boolean

    Pass True to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram.

    exclude_limited_non_upgradable?: boolean

    Pass True to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique.

    exclude_limited_upgradable?: boolean

    Pass True to exclude gifts that can be purchased a limited number of times and can be upgraded to unique.

    exclude_unique?: boolean

    Pass True to exclude unique gifts.

    exclude_unlimited?: boolean

    Pass True to exclude gifts that can be purchased an unlimited number of times.

    limit?: number

    The maximum number of gifts to be returned; 1-100.

    offset?: string

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

    sort_by_price?: boolean

    Pass True to sort results by gift price instead of send date. Sorting is applied before pagination.