inputStorePaymentStarsGiveaway
Signature
Section titled “Signature”inputStorePaymentStarsGiveaway#751f08fa flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.3?true stars:long boost_peer:InputPeer additional_peers:flags.1?Vector<InputPeer> countries_iso2:flags.2?Vector<string> prize_description:flags.4?string random_id:long until_date:int currency:string amount:long users:int = InputStorePaymentPurpose;Result type
Section titled “Result type”InputStorePaymentPurpose
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| only_new_subscribers | flags.0?true | flags.0 | — | |
| winners_are_visible | flags.3?true | flags.3 | — | |
| stars | long | — | — | |
| boost_peer | InputPeer | — | — | |
| additional_peers | flags.1?Vector |
flags.1 | — | |
| countries_iso2 | flags.2?Vector |
flags.2 | — | |
| prize_description | flags.4?string | flags.4 | — | |
| random_id | long | — | — | |
| until_date | int | — | — | |
| currency | string | — | — | |
| amount | long | — | — | |
| users | int | — | — |
| Parameter | Bit | Meaning |
|---|---|---|
| only_new_subscribers | 0 | Controlled by flags; present when this bit is set. |
| winners_are_visible | 3 | Controlled by flags; present when this bit is set. |
| additional_peers | 1 | Controlled by flags; present when this bit is set. |
| countries_iso2 | 2 | Controlled by flags; present when this bit is set. |
| prize_description | 4 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import InputStorePaymentStarsGiveawayPublic access: miniproto.raw.types.InputStorePaymentStarsGiveaway.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
InputStorePaymentPurpose - Related constructors:
inputStorePaymentAuthCode,inputStorePaymentGiftPremium,inputStorePaymentPremiumGiftCode,inputStorePaymentPremiumGiveaway,inputStorePaymentPremiumSubscription,inputStorePaymentStarsGift,inputStorePaymentStarsTopup - Accepted by:
payments.assignAppStoreTransaction,payments.assignPlayMarketTransaction,payments.canPurchaseStore,payments.launchPrepaidGiveaway,inputInvoicePremiumAuthCode,inputInvoicePremiumGiftCode,inputInvoiceStars