Class TdApi.GetReceivedGift

Enclosing class:
TdApi

public static class TdApi.GetReceivedGift extends TdApi.Function<TdApi.ReceivedGift>
Returns information about a received gift.

Returns ReceivedGift

  • Field Details

    • receivedGiftId

      public String receivedGiftId
      Identifier of the gift.
    • CONSTRUCTOR

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

    • GetReceivedGift

      public GetReceivedGift()
      Default constructor for a function, which returns information about a received gift.

      Returns ReceivedGift

    • GetReceivedGift

      public GetReceivedGift(String receivedGiftId)
      Creates a function, which returns information about a received gift.

      Returns ReceivedGift

      Parameters:
      receivedGiftId - Identifier of 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