Package org.drinkless.tdlib
Class TdApi.StarSubscriptions
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarSubscriptions
- Enclosing class:
- TdApi
Represents a list of Telegram Star subscriptions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The offset for the next request.long
The number of Telegram Stars required to buy to extend subscriptions expiring soon.The amount of owned Telegram Stars.List of subscriptions for Telegram Stars. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a list of Telegram Star subscriptions.StarSubscriptions
(TdApi.StarAmount starAmount, TdApi.StarSubscription[] subscriptions, long requiredStarCount, String nextOffset) Represents a list of Telegram Star subscriptions. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
starAmount
The amount of owned Telegram Stars. -
subscriptions
List of subscriptions for Telegram Stars. -
requiredStarCount
public long requiredStarCountThe 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarSubscriptions
public StarSubscriptions()Represents a list of Telegram Star subscriptions. -
StarSubscriptions
public StarSubscriptions(TdApi.StarAmount starAmount, TdApi.StarSubscription[] subscriptions, long requiredStarCount, String nextOffset) Represents a list of Telegram Star subscriptions.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-