AcceptedGiftTypes constructor
const
AcceptedGiftTypes({})
Creates a new AcceptedGiftTypes object.
Implementation
const factory AcceptedGiftTypes({
/// Optional. True, if unlimited regular gifts are accepted
@JsonKey(name: 'unlimited_gifts') bool? unlimitedGifts,
/// Optional. True, if limited regular gifts are accepted
@JsonKey(name: 'limited_gifts') bool? limitedGifts,
/// Optional. True, if unique gifts or gifts that can be upgraded to unique for free are accepted
@JsonKey(name: 'unique_gifts') bool? uniqueGifts,
/// Optional. True, if a Telegram Premium subscription is accepted
@JsonKey(name: 'premium_subscription') bool? premiumSubscription,
/// Optional. True, if transfers of unique gifts from channels are accepted
@JsonKey(name: 'gifts_from_channels') bool? giftsFromChannels,
}) = _AcceptedGiftTypes;