- API ›
- Constructors ›
- InputStorePaymentPremiumGiftCode
InputStorePaymentPremiumGiftCode
---types--- inputStorePaymentPremiumGiftCode#fb790393 users:Vector<InputUser> boost_peer:flags.0?InputPeer currency:string amount:long message:flags.1?TextWithEntities = InputStorePaymentPurpose
Belongs to
| InputStorePaymentPurpose |
In Rust this constructor is a variant of the enums::InputStorePaymentPurpose enum.
Match on it with: if let enums::InputStorePaymentPurpose::InputStorePaymentPremiumGiftCode(v) = result { ... }
Parameters
| users | Vector<InputUser> | required |
| boost_peer | InputPeer | optional |
| currency | string | required |
| amount | long | required |
| message | TextWithEntities | optional |
Used by
| AssignAppStoreTransaction |
| AssignPlayMarketTransaction |
| CanPurchaseStore |
| LaunchPrepaidGiveaway |