Class TdApi.InternalLinkTypeBuyStars

Enclosing class:
TdApi

public static class TdApi.InternalLinkTypeBuyStars extends TdApi.InternalLinkType
The link is a link to the Telegram Star purchase section of the application.
  • Field Details

    • starCount

      public long starCount
      The number of Telegram Stars that must be owned by the user.
    • purpose

      public String purpose
      Purpose of Telegram Star purchase. Arbitrary string specified by the server, for example, "subs" if the Telegram Stars are required to extend channel subscriptions.
    • CONSTRUCTOR

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

    • InternalLinkTypeBuyStars

      public InternalLinkTypeBuyStars()
      The link is a link to the Telegram Star purchase section of the application.
    • InternalLinkTypeBuyStars

      public InternalLinkTypeBuyStars(long starCount, String purpose)
      The link is a link to the Telegram Star purchase section of the application.
      Parameters:
      starCount - The number of Telegram Stars that must be owned by the user.
      purpose - Purpose of Telegram Star purchase. Arbitrary string specified by the server, for example, "subs" if the Telegram Stars are required to extend channel subscriptions.
  • 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