Class TdApi.StarTransactionTypeGiftSale

Enclosing class:
TdApi

public static class TdApi.StarTransactionTypeGiftSale extends TdApi.StarTransactionType
The transaction is a sale of a received gift; for regular users and channel chats only.
  • Field Details

    • userId

      public long userId
      Identifier of the user that sent 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

    • StarTransactionTypeGiftSale

      public StarTransactionTypeGiftSale()
      The transaction is a sale of a received gift; for regular users and channel chats only.
    • StarTransactionTypeGiftSale

      public StarTransactionTypeGiftSale(long userId, TdApi.Gift gift)
      The transaction is a sale of a received gift; for regular users and channel chats only.
      Parameters:
      userId - Identifier of the user that sent 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