telegramsjs
    Preparing search index...

    Interface AcceptedGiftTypes

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

    interface AcceptedGiftTypes {
        limited_gifts: boolean;
        premium_subscription: boolean;
        unique_gifts: boolean;
        unlimited_gifts: boolean;
    }
    Index

    Properties

    limited_gifts: boolean

    True, if limited regular gifts are accepted

    premium_subscription: boolean

    True, if a Telegram Premium subscription is accepted

    unique_gifts: boolean

    True, if unique gifts or gifts that can be upgraded to unique for free are accepted

    unlimited_gifts: boolean

    True, if unlimited regular gifts are accepted