Class TdApi.StarTransactionTypeGiftPurchase

Enclosing class:
TdApi

public static class TdApi.StarTransactionTypeGiftPurchase extends TdApi.StarTransactionType
The transaction is a purchase of a regular gift; for regular users and bots only.
  • Field Details

    • ownerId

      public TdApi.MessageSender ownerId
      Identifier of the user or the channel that received the gift.
    • gift

      public TdApi.Gift gift
      The gift.
    • CONSTRUCTOR

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

    • StarTransactionTypeGiftPurchase

      public StarTransactionTypeGiftPurchase()
      The transaction is a purchase of a regular gift; for regular users and bots only.
    • StarTransactionTypeGiftPurchase

      public StarTransactionTypeGiftPurchase(TdApi.MessageSender ownerId, TdApi.Gift gift)
      The transaction is a purchase of a regular gift; for regular users and bots only.
      Parameters:
      ownerId - Identifier of the user or the channel that received the gift.
      gift - The gift.
  • 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