Class TdApi.GetStarSubscriptions

Enclosing class:
TdApi

public static class TdApi.GetStarSubscriptions extends TdApi.Function<TdApi.StarSubscriptions>
Returns the list of Telegram Star subscriptions for the current user.

Returns StarSubscriptions

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    Offset of the first subscription to return as received from the previous request; use empty string to get the first chunk of results.
    boolean
    Pass true to receive only expiring subscriptions for which there are no enough Telegram Stars to extend.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns the list of Telegram Star subscriptions for the current user.
    GetStarSubscriptions(boolean onlyExpiring, String offset)
    Creates a function, which returns the list of Telegram Star subscriptions for the current user.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • onlyExpiring

      public boolean onlyExpiring
      Pass true to receive only expiring subscriptions for which there are no enough Telegram Stars to extend.
    • offset

      public String offset
      Offset of the first subscription to return as received from the previous request; use empty string to get the first chunk of results.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetStarSubscriptions

      public GetStarSubscriptions()
      Default constructor for a function, which returns the list of Telegram Star subscriptions for the current user.

      Returns StarSubscriptions

    • GetStarSubscriptions

      public GetStarSubscriptions(boolean onlyExpiring, String offset)
      Creates a function, which returns the list of Telegram Star subscriptions for the current user.

      Returns StarSubscriptions

      Parameters:
      onlyExpiring - Pass true to receive only expiring subscriptions for which there are no enough Telegram Stars to extend.
      offset - Offset of the first subscription to return as received from the previous request; use empty string to get the first chunk of 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