Interface AcceptedGiftTypes

Describes gift types that are accepted by a user.

interface AcceptedGiftTypes {
    @type: "acceptedGiftTypes";
    limited_gifts?: boolean;
    premium_subscription?: boolean;
    unlimited_gifts?: boolean;
    upgraded_gifts?: boolean;
}

Properties

@type: "acceptedGiftTypes"
limited_gifts?: boolean

True, if limited regular gifts are accepted.

premium_subscription?: boolean

True, if Telegram Premium subscription is accepted.

unlimited_gifts?: boolean

True, if unlimited regular gifts are accepted.

upgraded_gifts?: boolean

True, if upgraded gifts and regular gifts that can be upgraded for free are accepted.