premiumSubscriptionOption
Signature
Section titled “Signature”premiumSubscriptionOption#5f2d1df2 flags:# current:flags.1?true can_purchase_upgrade:flags.2?true transaction:flags.3?string months:int currency:string amount:long bot_url:string store_product:flags.0?string = PremiumSubscriptionOption;Result type
Section titled “Result type”PremiumSubscriptionOption
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| current | flags.1?true | flags.1 | — | |
| can_purchase_upgrade | flags.2?true | flags.2 | — | |
| transaction | flags.3?string | flags.3 | — | |
| months | int | — | — | |
| currency | string | — | — | |
| amount | long | — | — | |
| bot_url | string | — | — | |
| store_product | flags.0?string | flags.0 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| current | 1 | Controlled by flags; present when this bit is set. |
| can_purchase_upgrade | 2 | Controlled by flags; present when this bit is set. |
| transaction | 3 | Controlled by flags; present when this bit is set. |
| store_product | 0 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import PremiumSubscriptionOptionPublic access: miniproto.raw.types.PremiumSubscriptionOption.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
PremiumSubscriptionOption - Accepted by:
help.premiumPromo