StarsSubscriptionPricing
- class pyrogram.raw.types.StarsSubscriptionPricing
Pricing of a Telegram Star subscription ».
Constructor of
StarsSubscriptionPricing.- Details:
Layer:
223ID:
5416D58
- Parameters:
period (
int32-bit) – The user should pay amount stars every period seconds to gain and maintain access to the channel. Currently the only allowed subscription period is 30*24*60*60, i.e. the user will be debited amount stars every month.amount (
int64-bit) – Price of the subscription in Telegram Stars.
TL Schema
starsSubscriptionPricing#5416d58
period:int
amount:long
= StarsSubscriptionPricing
Parameter Tree
StarsSubscriptionPricing
├── period →
int└── amount →
longExample
StarsSubscriptionPricing(
period=0,
amount=0,
)