public static class TdApi.StarSubscriptionTypeChannel extends TdApi.StarSubscriptionType
| Modifier and Type | Field and Description |
|---|---|
boolean |
canReuse
True, if the subscription is active and the user can use the method reuseStarSubscription to join the subscribed chat again.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
inviteLink
The invite link that can be used to renew the subscription if it has been expired; may be empty, if the link isn't available anymore.
|
| Constructor and Description |
|---|
StarSubscriptionTypeChannel()
Describes a subscription to a channel chat.
|
StarSubscriptionTypeChannel(boolean canReuse,
java.lang.String inviteLink)
Describes a subscription to a channel chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean canReuse
public java.lang.String inviteLink
public static final int CONSTRUCTOR
public StarSubscriptionTypeChannel()
public StarSubscriptionTypeChannel(boolean canReuse,
java.lang.String inviteLink)
canReuse - True, if the subscription is active and the user can use the method reuseStarSubscription to join the subscribed chat again.inviteLink - The invite link that can be used to renew the subscription if it has been expired; may be empty, if the link isn't available anymore.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object