public static class TdApi.StarSubscriptionPricing extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
period
The number of seconds between consecutive Telegram Star debiting.
|
long |
starCount
The amount of Telegram Stars that must be paid for each period.
|
| Constructor and Description |
|---|
StarSubscriptionPricing()
Describes subscription plan paid in Telegram Stars.
|
StarSubscriptionPricing(int period,
long starCount)
Describes subscription plan paid in Telegram Stars.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int period
public long starCount
public static final int CONSTRUCTOR
public StarSubscriptionPricing()
public StarSubscriptionPricing(int period,
long starCount)
period - The number of seconds between consecutive Telegram Star debiting.starCount - The amount of Telegram Stars that must be paid for each period.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object