public static class TdApi.GetStarSubscriptions extends TdApi.Function<TdApi.StarSubscriptions>
Returns StarSubscriptions
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.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.
|
boolean |
onlyExpiring
Pass true to receive only expiring subscriptions for which there are no enough Telegram Stars to extend.
|
| Constructor and Description |
|---|
GetStarSubscriptions()
Default constructor for a function, which returns the list of Telegram Star subscriptions for the current user.
|
GetStarSubscriptions(boolean onlyExpiring,
java.lang.String offset)
Creates a function, which returns the list of Telegram Star subscriptions for the current user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean onlyExpiring
public java.lang.String offset
public static final int CONSTRUCTOR
public GetStarSubscriptions()
Returns StarSubscriptions
public GetStarSubscriptions(boolean onlyExpiring,
java.lang.String offset)
Returns StarSubscriptions
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object