Class TdApi.DropGiftOriginalDetails

Enclosing class:
TdApi

public static class TdApi.DropGiftOriginalDetails extends TdApi.Function<TdApi.Ok>
Drops original details for an upgraded gift.

Returns Ok

  • Field Details

    • receivedGiftId

      public String receivedGiftId
      Identifier of the gift.
    • starCount

      public long starCount
      The amount of Telegram Stars required to pay for the operation.
    • CONSTRUCTOR

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

    • DropGiftOriginalDetails

      public DropGiftOriginalDetails()
      Default constructor for a function, which drops original details for an upgraded gift.

      Returns Ok

    • DropGiftOriginalDetails

      public DropGiftOriginalDetails(String receivedGiftId, long starCount)
      Creates a function, which drops original details for an upgraded gift.

      Returns Ok

      Parameters:
      receivedGiftId - Identifier of the gift.
      starCount - The amount of Telegram Stars required to pay for the operation.
  • 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