inputStorePaymentAuthCode
Signature
Section titled “Signature”inputStorePaymentAuthCode#3fc18057 flags:# restore:flags.0?true phone_number:string phone_code_hash:string premium_days:int currency:string amount:long = InputStorePaymentPurpose;Result type
Section titled “Result type”InputStorePaymentPurpose
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| restore | flags.0?true | flags.0 | — | |
| phone_number | string | — | — | |
| phone_code_hash | string | — | — | |
| premium_days | int | — | — | |
| currency | string | — | — | |
| amount | long | — | — |
| Parameter | Bit | Meaning |
|---|---|---|
| restore | 0 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import InputStorePaymentAuthCodePublic access: miniproto.raw.types.InputStorePaymentAuthCode.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
InputStorePaymentPurpose - Related constructors:
inputStorePaymentGiftPremium,inputStorePaymentPremiumGiftCode,inputStorePaymentPremiumGiveaway,inputStorePaymentPremiumSubscription,inputStorePaymentStarsGift,inputStorePaymentStarsGiveaway,inputStorePaymentStarsTopup - Accepted by:
payments.assignAppStoreTransaction,payments.assignPlayMarketTransaction,payments.canPurchaseStore,payments.launchPrepaidGiveaway,inputInvoicePremiumAuthCode,inputInvoicePremiumGiftCode,inputInvoiceStars