Class TdApi.StarSubscriptionTypeChannel

Enclosing class:
TdApi

public static class TdApi.StarSubscriptionTypeChannel extends TdApi.StarSubscriptionType
Describes a subscription to a channel chat.
  • Field Details

    • canReuse

      public boolean canReuse
      True, if the subscription is active and the user can use the method reuseStarSubscription to join the subscribed chat again.
    • CONSTRUCTOR

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

    • StarSubscriptionTypeChannel

      public StarSubscriptionTypeChannel()
      Describes a subscription to a channel chat.
    • StarSubscriptionTypeChannel

      public StarSubscriptionTypeChannel(boolean canReuse, String inviteLink)
      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