Class TdApi.StarSubscriptionTypeBot

Enclosing class:
TdApi

public static class TdApi.StarSubscriptionTypeBot extends TdApi.StarSubscriptionType
Describes a subscription in a bot or a business account.
  • Field Details

    • isCanceledByBot

      public boolean isCanceledByBot
      True, if the subscription was canceled by the bot and can't be extended.
    • title

      public String title
      Subscription invoice title.
    • photo

      public TdApi.Photo photo
      Subscription invoice photo.
    • CONSTRUCTOR

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

    • StarSubscriptionTypeBot

      public StarSubscriptionTypeBot()
      Describes a subscription in a bot or a business account.
    • StarSubscriptionTypeBot

      public StarSubscriptionTypeBot(boolean isCanceledByBot, String title, TdApi.Photo photo, String invoiceLink)
      Describes a subscription in a bot or a business account.
      Parameters:
      isCanceledByBot - True, if the subscription was canceled by the bot and can't be extended.
      title - Subscription invoice title.
      photo - Subscription invoice photo.
      invoiceLink - The link to the subscription invoice.
  • 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR