Constructor: starsSubscriptionPricing
Pricing of a Telegram Star subscription ».
Attributes:
Name | Type | Required | Description |
---|---|---|---|
period | int | Yes | 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 | long | Yes | Price of the subscription in Telegram Stars. |
Type: StarsSubscriptionPricing
Example:
$starsSubscriptionPricing = ['_' => 'starsSubscriptionPricing', 'period' => int, 'amount' => long];