Package org.drinkless.tdlib
Class TdApi.StarSubscriptionTypeChannel
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarSubscriptionType
org.drinkless.tdlib.TdApi.StarSubscriptionTypeChannel
- Enclosing class:
- TdApi
Describes a subscription to a channel chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
True, if the subscription is active and the user can use the method reuseStarSubscription to join the subscribed chat again.static final int
Identifier uniquely determining type of the object.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 Summary
ConstructorsConstructorDescriptionDescribes a subscription to a channel chat.StarSubscriptionTypeChannel
(boolean canReuse, String inviteLink) Describes a subscription to a channel chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
canReuse
public boolean canReuseTrue, 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarSubscriptionTypeChannel
public StarSubscriptionTypeChannel()Describes a subscription to a channel chat. -
StarSubscriptionTypeChannel
Describes a subscription to a channel chat.- Parameters:
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.
-
-
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
-