InputStorePaymentPurpose

Info about a Telegram Premium purchase

inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgrade:flags.1?true = InputStorePaymentPurpose;
inputStorePaymentGiftPremium#616f7fe8 user_id:InputUser currency:string amount:long = InputStorePaymentPurpose;

Constructors

Constructor Description
inputStorePaymentPremiumSubscription Info about a Telegram Premium purchase
inputStorePaymentGiftPremium Info about a gifted Telegram Premium purchase
inputStorePaymentPremiumGiftCode Used to gift Telegram Premium subscriptions only to some specific subscribers of a channel/supergroup or to some of our contacts, see here » for more info on giveaways and gifts.
inputStorePaymentPremiumGiveaway Used to pay for a giveaway, see here » for more info.
inputStorePaymentStarsTopup Used to top up the Telegram Stars balance of the current account.
inputStorePaymentStarsGift Used to gift Telegram Stars to a friend.
inputStorePaymentStarsGiveaway Used to pay for a star giveaway, see here » for more info.