Layer 220
constructor
starsSubscriptionPricing#5416d58 period:int amount:long = StarsSubscriptionPricing;

Parameters

Name Type Description
Period int 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 Price of the subscription in Telegram Stars.

Gogram Example

// Creating StarsSubscriptionPricing constructor
obj := &tg.StarsSubscriptionPricing{
    Period: 0,
    Amount: int64(0),
}