method ApiMethods.getChatGifts
ApiMethods.getChatGifts(args: { chat_id: number | string; exclude_unsaved?: boolean; exclude_saved?: boolean; exclude_unlimited?: boolean; exclude_limited_upgradable?: boolean; exclude_limited_non_upgradable?: boolean; exclude_from_blockchain?: boolean; exclude_unique?: boolean; sort_by_price?: boolean; offset?: string; limit?: number; }): OwnedGifts

Returns the gifts owned by a chat. Returns OwnedGifts on success.

Parameters

args: { chat_id: number | string; exclude_unsaved?: boolean; exclude_saved?: boolean; exclude_unlimited?: boolean; exclude_limited_upgradable?: boolean; exclude_limited_non_upgradable?: boolean; exclude_from_blockchain?: boolean; exclude_unique?: boolean; sort_by_price?: boolean; offset?: string; limit?: number; }

Return Type

Usage

import { type ApiMethods } from "types";