Package org.drinkless.tdlib

# Class TdApi.StarSubscriptions

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarSubscriptions

Enclosing class:
  `TdApi`

public static class TdApi.StarSubscriptions extends TdApi.Object
Represents a list of Telegram Star subscriptions.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `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 Summary

  Constructors
  Constructor
  Description
  `StarSubscriptions()`
  Represents 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 Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### starAmount

    public TdApi.StarAmount starAmount
    The amount of owned Telegram Stars.

  - ### subscriptions

    public TdApi.StarSubscription[] subscriptions
    List of subscriptions for Telegram Stars.

  - ### requiredStarCount

    public long requiredStarCount
    The number of Telegram Stars required to buy to extend subscriptions expiring soon.

  - ### nextOffset

    public String nextOffset
    The offset for the next request. If empty, then there are no more results.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## 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 class `TdApi.Object`
    Returns:
      this.CONSTRUCTOR