Class TdApi.StarTransactionTypeGiftTransfer

Enclosing class:
TdApi

public static class TdApi.StarTransactionTypeGiftTransfer extends TdApi.StarTransactionType
The transaction is a transfer of an upgraded gift; for regular users only.
  • Field Details

    • ownerId

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

      public TdApi.UpgradedGift gift
      The gift.
    • CONSTRUCTOR

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

    • StarTransactionTypeGiftTransfer

      public StarTransactionTypeGiftTransfer()
      The transaction is a transfer of an upgraded gift; for regular users only.
    • StarTransactionTypeGiftTransfer

      public StarTransactionTypeGiftTransfer(TdApi.MessageSender ownerId, TdApi.UpgradedGift gift)
      The transaction is a transfer of an upgraded gift; for regular users 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