public static class TdApi.StarSubscriptions extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
nextOffset
The offset for the next request.
|
long |
requiredStarCount
The number of Telegram Stars required to buy to extend subscriptions expiring soon.
|
TdApi.StarAmount |
starAmount
The amount of owned Telegram Stars.
|
TdApi.StarSubscription[] |
subscriptions
List of subscriptions for Telegram Stars.
|
| Constructor and Description |
|---|
StarSubscriptions()
Represents a list of Telegram Star subscriptions.
|
StarSubscriptions(TdApi.StarAmount starAmount,
TdApi.StarSubscription[] subscriptions,
long requiredStarCount,
java.lang.String nextOffset)
Represents a list of Telegram Star subscriptions.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.StarAmount starAmount
public TdApi.StarSubscription[] subscriptions
public long requiredStarCount
public java.lang.String nextOffset
public static final int CONSTRUCTOR
public StarSubscriptions()
public StarSubscriptions(TdApi.StarAmount starAmount, TdApi.StarSubscription[] subscriptions, long requiredStarCount, java.lang.String nextOffset)
starAmount - The amount of owned Telegram Stars.subscriptions - List of subscriptions for Telegram Stars.requiredStarCount - The number of Telegram Stars required to buy to extend subscriptions expiring soon.nextOffset - The offset for the next request. If empty, then there are no more results.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object