Available types

AcceptedGiftTypes

This object describes the types of gifts that can be gifted to a user or a chat.

fields

fieldtyperequireddescription
unlimited_giftsbooleanrequiredTrue, if unlimited regular gifts are accepted
limited_giftsbooleanrequiredTrue, if limited regular gifts are accepted
unique_giftsbooleanrequiredTrue, if unique gifts or gifts that can be upgraded to unique for free are accepted
premium_subscriptionbooleanrequiredTrue, if a Telegram Premium subscription is accepted
gifts_from_channelsbooleanrequiredTrue, if transfers of unique gifts from channels are accepted

import

types.ts
import type { AcceptedGiftTypes } from "@yaebal/types";

used by

methods

types