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 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:
  • 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