Package org.drinkless.tdlib
Class TdApi.GetStarSubscriptions
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.StarSubscriptions>
org.drinkless.tdlib.TdApi.GetStarSubscriptions
- Enclosing class:
- TdApi
Returns the list of Telegram Star subscriptions for the current user.
Returns StarSubscriptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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
ConstructorsConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
onlyExpiring
public boolean onlyExpiringPass 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-