OwnedGifts
Contains the list of gifts received and owned by a user or a chat.
fields
| field | type | required | description |
|---|---|---|---|
total_count | number | required | The total number of gifts owned by the user or the chat |
gifts | OwnedGift[] | required | The list of gifts |
next_offset | string | optional | Optional. Offset for the next request. If empty, then there are no more results. |
import
import type { OwnedGifts } from "@yaebal/types";used by
methods
official Bot API docs: https://core.telegram.org/bots/api/#ownedgifts