Class TdApi.CraftGiftResultSuccess

Enclosing class:
TdApi

public static class TdApi.CraftGiftResultSuccess extends TdApi.CraftGiftResult
Crafting was successful.
  • Field Details

    • gift

      public TdApi.UpgradedGift gift
      The created gift.
    • receivedGiftId

      public String receivedGiftId
      Unique identifier of the received gift for the current user.
    • CONSTRUCTOR

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

    • CraftGiftResultSuccess

      public CraftGiftResultSuccess()
      Crafting was successful.
    • CraftGiftResultSuccess

      public CraftGiftResultSuccess(TdApi.UpgradedGift gift, String receivedGiftId)
      Crafting was successful.
      Parameters:
      gift - The created gift.
      receivedGiftId - Unique identifier of the received gift for the current user.
  • 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.CraftGiftResult
      Returns:
      this.CONSTRUCTOR