Class TdApi.TelegramPaymentPurposeJoinChat

Enclosing class:
TdApi

public static class TdApi.TelegramPaymentPurposeJoinChat extends TdApi.TelegramPaymentPurpose
The user joins a chat and subscribes to regular payments in Telegram Stars.
  • Field Details

    • CONSTRUCTOR

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

    • TelegramPaymentPurposeJoinChat

      public TelegramPaymentPurposeJoinChat()
      The user joins a chat and subscribes to regular payments in Telegram Stars.
    • TelegramPaymentPurposeJoinChat

      public TelegramPaymentPurposeJoinChat(String inviteLink)
      The user joins a chat and subscribes to regular payments in Telegram Stars.
      Parameters:
      inviteLink - Invite link to use.
  • 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