telegramx.js

AcceptedGiftTypes

interface

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

Declaration

interface AcceptedGiftTypes 

Properties

gifts_from_channels: boolean;

True, if transfers of unique gifts from channels are accepted

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