inputStorePaymentPremiumGiftCode
Signature
Section titled “Signature”inputStorePaymentPremiumGiftCode#fb790393 flags:# users:Vector<InputUser> boost_peer:flags.0?InputPeer currency:string amount:long message:flags.1?TextWithEntities = InputStorePaymentPurpose;Result type
Section titled “Result type”InputStorePaymentPurpose
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| users | Vector |
— | — | |
| boost_peer | flags.0?InputPeer | flags.0 | — | |
| currency | string | — | — | |
| amount | long | — | — | |
| message | flags.1?TextWithEntities | flags.1 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| boost_peer | 0 | Controlled by flags; present when this bit is set. |
| message | 1 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import InputStorePaymentPremiumGiftCodePublic access: miniproto.raw.types.InputStorePaymentPremiumGiftCode.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
InputStorePaymentPurpose - Related constructors:
inputStorePaymentAuthCode,inputStorePaymentGiftPremium,inputStorePaymentPremiumGiveaway,inputStorePaymentPremiumSubscription,inputStorePaymentStarsGift,inputStorePaymentStarsGiveaway,inputStorePaymentStarsTopup - Accepted by:
payments.assignAppStoreTransaction,payments.assignPlayMarketTransaction,payments.canPurchaseStore,payments.launchPrepaidGiveaway,inputInvoicePremiumAuthCode,inputInvoicePremiumGiftCode,inputInvoiceStars