toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'unlimited_gifts': unlimitedGifts,
'limited_gifts': limitedGifts,
'upgraded_gifts': upgradedGifts,
'gifts_from_channels': giftsFromChannels,
'premium_subscription': premiumSubscription,
};