AcceptedGiftTypes
This object describes the types of gifts that can be gifted to a user or a chat.
fields
| field | type | required | description |
|---|---|---|---|
unlimited_gifts | boolean | required | True, if unlimited regular gifts are accepted |
limited_gifts | boolean | required | True, if limited regular gifts are accepted |
unique_gifts | boolean | required | True, if unique gifts or gifts that can be upgraded to unique for free are accepted |
premium_subscription | boolean | required | True, if a Telegram Premium subscription is accepted |
gifts_from_channels | boolean | required | True, if transfers of unique gifts from channels are accepted |
import
import type { AcceptedGiftTypes } from "@yaebal/types";used by
methods
types
official Bot API docs: https://core.telegram.org/bots/api/#acceptedgifttypes