Skip to content

premiumSubscriptionOption

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;

PremiumSubscriptionOption

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.
from miniproto.raw.types import PremiumSubscriptionOption

Public access: miniproto.raw.types.PremiumSubscriptionOption.

PremiumSubscriptionOption

Schema sources