starsSubscriptionPricing
Pricing of a Telegram Star subscription ».
type tg.StarsSubscriptionPricing struct { /* ... */ }
Fields
| 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 302460*60, i.e. the user will be debited amount stars every month. |
Amount | int64 | yes | Price of the subscription in Telegram Stars. |
References
- Official documentation
- Generated Go reference
- TL definition:
starsSubscriptionPricing#5416d58