InputStorePaymentPurpose
This is a boxed type (a TL class): the Go interface tg.InputStorePaymentPurposeClass, implemented by
the constructors below. A value of this type is one of them — switch on the concrete
type to handle it.
switch v := value.(type) {
case *tg.InputStorePaymentAuthCode: // inputStorePaymentAuthCode
case *tg.InputStorePaymentGiftPremium: // inputStorePaymentGiftPremium
case *tg.InputStorePaymentPremiumGiftCode: // inputStorePaymentPremiumGiftCode
case *tg.InputStorePaymentPremiumGiveaway: // inputStorePaymentPremiumGiveaway
case *tg.InputStorePaymentPremiumSubscription: // inputStorePaymentPremiumSubscription
case *tg.InputStorePaymentStarsGift: // inputStorePaymentStarsGift
case *tg.InputStorePaymentStarsGiveaway: // inputStorePaymentStarsGiveaway
case *tg.InputStorePaymentStarsTopup: // inputStorePaymentStarsTopup
}
Constructors
| Constructor | TL name |
|---|---|
InputStorePaymentAuthCode | inputStorePaymentAuthCode |
InputStorePaymentGiftPremium | inputStorePaymentGiftPremium |
InputStorePaymentPremiumGiftCode | inputStorePaymentPremiumGiftCode |
InputStorePaymentPremiumGiveaway | inputStorePaymentPremiumGiveaway |
InputStorePaymentPremiumSubscription | inputStorePaymentPremiumSubscription |
InputStorePaymentStarsGift | inputStorePaymentStarsGift |
InputStorePaymentStarsGiveaway | inputStorePaymentStarsGiveaway |
InputStorePaymentStarsTopup | inputStorePaymentStarsTopup |